Page 1 of 1
[Solved] Cannot Submit Page Reorder
Posted: Thu Jan 27, 2011 12:50 am
by jaslorax
I can drag and drop everything fine in the page reordering in the admin panel. I can "cancel" and "revert" as well; however, I cannot "submit" my changes. Nothing happens. Have tried in latest FF and Safari on latest Mac OS and on latest IE on Win Xp . . .
I checked the error log and found this:
Code: Select all
PHP Fatal error: Call to undefined function json_decode() in admin/ordercontent.php on line 73, referer: admin/ordercontent.php?sp_=4c1457bd
More Info:
CMS Version: 1.9.2
Server Info:
PHP: 5.2.14
OS: FreeBSD 6.4-RELEASE-p8 On i386
The system check shows all green . . .
Re: Cannot Submit Page Reorder
Posted: Thu Jan 27, 2011 3:04 am
by Dr.CSS
Almost sounds like you may be missing a file or 2...
How did you get it to the server, FTP or ?...
Re: Cannot Submit Page Reorder
Posted: Thu Jan 27, 2011 5:34 pm
by jaslorax
I don't think it is related to missing files. I uploaded the full tar.gz via ftp (then untar/gzip) for the last couple of upgrades and always run the checksum with success . . .
Just ran the check again and all files missing were in the "install/" folder except:
Missing:
/tmp/cache/SITEDOWN
Failed:
/tmp/cache/index.html
/tmp/templates_c/index.html
So, I think something else is at play here . . .
Re: Cannot Submit Page Reorder
Posted: Thu Jan 27, 2011 5:52 pm
by Dr.CSS
Are you using the default ncleangrey admin theme, I've had problems on sites that had something locked down that had to do with JS where things like reorder didn't work...
Re: Cannot Submit Page Reorder
Posted: Thu Jan 27, 2011 6:10 pm
by jaslorax
Yes, I am using the NCleanGrey admin theme. Just tried the default with the same exact issue and error . . .
Re: Cannot Submit Page Reorder
Posted: Thu Jan 27, 2011 7:01 pm
by jaslorax
Okay, problem solved. I guess json encode and decode is enabled by default in php 5.2, but for whatever reason mine was not loaded. I added "extension=json.so" to the php.ini and restarted apache and all is well . . .