satanasov / phpbbgallery

This is port of [nickvergessen]'s phpBB Gallery
22 stars 29 forks source link

Cannot change Contest dates #260

Open rwitkamp opened 3 years ago

rwitkamp commented 3 years ago

Wow, what a nice Extension this is! It's looking very good. I only am running into a problem with Contest. When I try to change the start- or end date and time of the contest within the ACP, my newly entered values are not saved. I do not see any error. Is there a fix for this?

I'm using the latest extension version. My database is on a Synology NAS.

satanasov commented 3 years ago

Can you please provide some more info - PhpBB Version, apache? Caching?

rwitkamp commented 3 years ago

I'm running PHPBB on a Raspberry Pi 4B with Ubuntu 20.04 Server LTS operating system. My PHP version is 7.4.3 and Apache version 2.4.41. Clearing cache or not does not make any difference. PHPBB 3.3.4 and MySQL(i) 10.3.27-MariaDB. I also use Dutch language, my date format is d M Y, H:i and I'm in Europe/Amsterdam timezone. Gallery version is 3.2.1 and all State are OK

When creating a new album, it is going fine, dates are saved. This problem only happens when changing the date fields for an existing Contest. Changing other field for a contest, for example the Name or Description are going fine

rwitkamp commented 3 years ago

By the way, I can see that lines 451 to 475 in core\album\manage.php are commented out. I think this is where updating the dates should happen. If I uncomment them, it's resulting in an error 500 :-( It seems there also is a code-error somewhere in that commented part.