google-code-export / candydolldb

Automatically exported from code.google.com/p/candydolldb
0 stars 0 forks source link

Problems with 1.8 & 1.9 #42

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Recently I have been having issues with recent updates, not sure which ones yet.

On user_view.php I get Parse error: syntax error, unexpected end of file, which 
I narrowed down to the double IF statements for username / password

On image.php no thumbnails or detail data is shown. By removing one or the 
other SWITCH statements for the display, then the right one will show, with the 
thumbnail display showing double

Will look into this and see if I can fix it with a new setup, which what I was 
using until this happened

Original issue reported on code.google.com by mranimos...@gmail.com on 16 Nov 2012 at 1:13

GoogleCodeExporter commented 9 years ago
I recall problems similar to these, some time ago. Just like then, I can not 
reproduce them with the current SVN code.

Can you diff the files to the trunk, including cd.php and possibly all classes 
involved?

Original comment by fwp...@gmail.com on 16 Nov 2012 at 11:33

GoogleCodeExporter commented 9 years ago
I performed a fresh install from the current trunk. Imported setup_data.xml and 
a few image- and video sets. No problems, so far.

Original comment by fwp...@gmail.com on 16 Nov 2012 at 10:42

GoogleCodeExporter commented 9 years ago
Tried fresh install with current trunk, same errors and glitches. Then tried 
the 1.8 download and even the 1.7 download. Both of those had the same issues

Upgraded XAMPP to the latest release thinking it was a php problem but it is 
still doing it. So now I'm going to downgrade my XAMPP to one I used about 6 
months ago with no problem.

Diffing the files to the trunk would be pointless since they are binary exact 
copies of what is on the SVN.

Original comment by mranimos...@gmail.com on 18 Nov 2012 at 6:31

GoogleCodeExporter commented 9 years ago
I found the issue... In both image.php and user_view.php there are a few 
opening tags:

<?

which should be:

<?php

If you make the changes it'll work. Maybe older versions of PHP accepted the 
short notation, but the current one doesn't.

Original comment by lenna...@gmail.com on 24 Nov 2012 at 9:25

GoogleCodeExporter commented 9 years ago
That fixed it. I forgot most installations of PHP do not have shorthand 
notation turned on by default

Original comment by mranimos...@gmail.com on 24 Nov 2012 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by mranimos...@gmail.com on 24 Nov 2012 at 7:15