[Solved] Cannot Submit Page Reorder

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

[Solved] Cannot Submit Page Reorder

Post 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 . . .
Last edited by jaslorax on Fri Apr 15, 2011 5:34 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Submit Page Reorder

Post by Dr.CSS »

Almost sounds like you may be missing a file or 2...

How did you get it to the server, FTP or ?...
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

Re: Cannot Submit Page Reorder

Post 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 . . .
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Cannot Submit Page Reorder

Post 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...
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

Re: Cannot Submit Page Reorder

Post by jaslorax »

Yes, I am using the NCleanGrey admin theme. Just tried the default with the same exact issue and error . . .
User avatar
jaslorax
Forum Members
Forum Members
Posts: 25
Joined: Thu Jan 14, 2010 12:34 am

Re: Cannot Submit Page Reorder

Post 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 . . .
Post Reply

Return to “CMSMS Core”