GithubHelp home page GithubHelp logo

Challenges not showing about mellivora HOT 14 CLOSED

semprix avatar semprix commented on July 20, 2024
Challenges not showing

from mellivora.

Comments (14)

0x90n avatar 0x90n commented on July 20, 2024

Have you set the time for release yet? Maybe it's set to open in the future. Additionally, ensure your server has NTP set up and is synced properly with your timezone :)

from mellivora.

Nakiami avatar Nakiami commented on July 20, 2024

If I had to guess I'd say, as Shad0wSt3p pointed out, that you probably have some differences in time[zone] configuration between one or all of your web server, php, database and os..

from mellivora.

Nakiami avatar Nakiami commented on July 20, 2024

I just added a timezone check for the admin page. Try pulling the latest version and see if it triggers. There should be a red box with warnings on the admin page if the timezones are different.

from mellivora.

semprix avatar semprix commented on July 20, 2024

Timezone setting on OS and php.ini are both set correctly, how about the submission button missing?

from mellivora.

semprix avatar semprix commented on July 20, 2024

Issue still exist after pulling the latest commits...

Tested on 4 browsers, Safari, Opera, Chrome and Firefox.

OS Version:
Debian 8.4
root@ctfbox:/var/www/mellivora/include# uname -a
Linux ctfbox 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64 GNU/Linux

PHP Version:
root@ctfbox:/var/www/mellivora/include# php --version
PHP 5.6.20-0+deb8u1 (cli) (built: Apr 27 2016 11:26:05)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
root@ctfbox:/var/www/mellivora/include#

Debian Timezone
root@ctfbox:/var/www/mellivora/include# cat /etc/timezone
Asia/Manila
root@ctfbox:/var/www/mellivora/include#

PHP Timezone
root@ctfbox:/var/www/mellivora/include# cat /etc/php5/apache2/php.ini | grep date.timezone
; http://php.net/date.timezone
date.timezone = "Asia/Manila"
root@ctfbox:/var/www/mellivora/include#

MySQL Timezone
mysql> SELECT @@global.time_zone, @@session.time_zone;
+--------------------+---------------------+
| @@global.time_zone | @@session.time_zone |
+--------------------+---------------------+
| SYSTEM | SYSTEM |
+--------------------+---------------------+
1 row in set (0.00 sec)

Screenshots
image

image

image

from mellivora.

Nakiami avatar Nakiami commented on July 20, 2024

Not sure what it could be. Could you upload or send me a database dump?

from mellivora.

semprix avatar semprix commented on July 20, 2024

Hi you may download it from http://www.devio.us/~semprix/mellivora.zip included the htdocs and .sql file.

from mellivora.

Nakiami avatar Nakiami commented on July 20, 2024

I imported the dump and it works fine on my end. Can you attach your configuration file?

from mellivora.

semprix avatar semprix commented on July 20, 2024

Configs can be downloaded at http://www.devio.us/~semprix/configs.zip

thanks

from mellivora.

Nakiami avatar Nakiami commented on July 20, 2024

Can't see anything amiss there. Could you try manually forcing the timezone in your config file by uncommenting/updating two lines up the top?

//const CONFIG_DATE_DEFAULT_TIMEZONE = 'Australia/Sydney'; //date_default_timezone_set(CONFIG_DATE_DEFAULT_TIMEZONE);

Do you have any output in the apache log files?

from mellivora.

semprix avatar semprix commented on July 20, 2024

This is the "Fatal" error, could this be the culprit?

image

Uncommented the timezone setting.

image

Still nothing

image

Also I noticed that on /challenges URL the footer are gone....

from mellivora.

semprix avatar semprix commented on July 20, 2024

This could be missing in composer?

from mellivora.

Nakiami avatar Nakiami commented on July 20, 2024

Ah, yeah, you'll need php-pear installed. Try
$ sudo apt-get install php-pear
or
$ wget http://pear.php.net/go-pear.phar
$ php go-pear.phar

from mellivora.

semprix avatar semprix commented on July 20, 2024

That works! closing this issue now.....

from mellivora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.