[SOLVED] unable to change page template after upgrading

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
angystardust
New Member
New Member
Posts: 6
Joined: Wed May 07, 2008 11:58 am

[SOLVED] unable to change page template after upgrading

Post by angystardust »

Hi to everyone!
After upgrading from 1.5.1 to 1.6.3, every time I try to change the template of an existing page, I receive the following error:

Warning: Invalid argument supplied for foreach() in /home/ornisrv/ornitorinco.org/adm/editcontent.php on line 131

Can someone help me, please?
Thanks

AngelO
Last edited by angystardust on Mon Aug 03, 2009 8:54 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: unable to change page template after upgrading

Post by Dr.CSS »

Need more info...

How you did it...

System info...

Etc...
angystardust
New Member
New Member
Posts: 6
Joined: Wed May 07, 2008 11:58 am

Re: unable to change page template after upgrading

Post by angystardust »

Thanks for your reply! I'm on a Dreamhost's shared server. Until the upgrade to 1.6.3, it worked.
It seems like a permission problem but I'm admin, editor and designer (and the owner of the content)!

----------------------------------------------

Cms Version: 1.6.3

Installed Modules:

    * CMSMailer: 1.73.14
    * FileManager: 1.0
    * MenuManager: 1.6.1
    * ModuleManager: 1.3.1
    * News: 2.10.2
    * nuSOAP: 1.0.1
    * Printing: 1.0.1
    * Search: 1.6.1
    * ThemeManager: 1.1.1
    * TinyMCE: 2.5.0beta3
    * Album: 0.9.3
    * SimpleGoogleMap: 1.1
    * Sendeplan: 1.2
    * CGExtensions: 1.16
    * CGCalendar: 1.2.2
    * FCKeditorX: 1.1.0


Config Information:

    * php_memory_limit:
    * process_whole_template: true
    * max_upload_size: 10000000
    * default_upload_permission: 664
    * assume_mod_rewrite: false
    * page_extension:
    * internal_pretty_urls: false
    * use_hierarchy: false


Php Information:

    * phpversion: 5.2.9
    * md5_function: On (Vero)
    * gd_version: 2
    * tempnam_function: On (Vero)
    * magic_quotes_runtime: Off (Falso)
    * memory_limit: 90M
    * max_execution_time: 30
    * safe_mode: Off (Falso)
    * session_save_path: /tmp (0777)


Server Information:

    * Server Api: cgi-fcgi
    * Server Db Type: MySQL (mysql)
    * Server Db Version: 5.0.67


----------------------------------------------

AngelO
reneh
Dev Team Member
Dev Team Member
Posts: 446
Joined: Tue Nov 28, 2006 8:39 pm

Re: unable to change page template after upgrading

Post by reneh »

Did system verification sucsess 100% or you have some files not matching?
ReneH 8-)
A search will save you hours waiting for an answer! Image
angystardust
New Member
New Member
Posts: 6
Joined: Wed May 07, 2008 11:58 am

Re: unable to change page template after upgrading

Post by angystardust »

I did the integrity check and everything seems ok.
I noticed another error everytime I try to modify the content of an existing page:

Warning: Invalid argument supplied for foreach() in /home/ornisrv/ornitorinco.org/adm/editcontent.php on line 276
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm

Re: unable to change page template after upgrading

Post by Jeff »

You haven't modified any of your system files, have you? Because on line 276 of my 1.6.3 admin/editcontent.php is a comment line.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: unable to change page template after upgrading

Post by Dr.CSS »

You should check what you are in the permission scheme of things, you shouldn't be all three just editor and make sure editor for you has all permissions checked...
angystardust
New Member
New Member
Posts: 6
Joined: Wed May 07, 2008 11:58 am

Re: unable to change page template after upgrading

Post by angystardust »

How stupid am I? When I installed cmsms I renamed the admin directory in "adm" (to prevent some stupid bots around the net from trying to access the admin page...yeah I know...this is security by obscurity by the way I like it!) and after the upgrade I forgot to rename the new "admin" directory in "adm" and remove the old one! This wasn't the first time I upgraded my installation but this time I totally forgot to do that!

Thank you guys for your help...especially Ajprog: your question about the content of the line 276 enlightened me! ;-)

AngelO
Locked

Return to “[locked] Installation, Setup and Upgrade”