Page 1 of 1
[SOLVED] unable to change page template after upgrading
Posted: Sun Aug 02, 2009 9:45 pm
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
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 1:19 am
by Dr.CSS
Need more info...
How you did it...
System info...
Etc...
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 9:08 am
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
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 10:07 am
by reneh
Did system verification sucsess 100% or you have some files not matching?
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 10:26 am
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
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 1:57 pm
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.
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 4:43 pm
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...
Re: unable to change page template after upgrading
Posted: Mon Aug 03, 2009 8:54 pm
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