PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
I upgraded from PHP 5.2.4 to 5.2.13 and CMS from 1.6.7 to 1.7.1 and now I get this at the top of all pages:
Notice: Undefined index: secure in /var/www/html/lib/classes/class.content.inc.php on line 956
Notice: Undefined index: secure in /var/www/html/lib/classes/class.content.inc.php on line 956
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Could be
http://forum.cmsmadesimple.org/index.ph ... #msg212469
EDIT: I noticed you have posted there yourself
http://forum.cmsmadesimple.org/index.ph ... #msg212469
EDIT: I noticed you have posted there yourself

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
My upgrade(1.7-1.7.1 php5.2.11-php5.3) was very similar as you, there is the process:
Update to php5.3 on your sever first
Copy 1.7.1 to your preview www folder (overwrite)
Run install/upgrade.php in browser
done.
i suggest you'd better upgrade to 1.7 from your 1.6.7 setp by step first, and update php version befor upgrade cmsms, especial 1.7. I think the upgrade program can fix some error about php compatibility.
Cheers
Gu
Update to php5.3 on your sever first
Copy 1.7.1 to your preview www folder (overwrite)
Run install/upgrade.php in browser
done.
i suggest you'd better upgrade to 1.7 from your 1.6.7 setp by step first, and update php version befor upgrade cmsms, especial 1.7. I think the upgrade program can fix some error about php compatibility.
Cheers
Gu
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
I upgraded PHP before I upgraded CMS
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Any further thoughts on this? I've tried creating new pages but I still get the same error message in PHP. I can disable displaying errors in the php ini but I rather fix the error instead of hiding it.
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Somebody got a link here?
Rolf
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Link to my webserver?Rolf wrote: Somebody got a link here?
Rolf![]()
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Yep, you can pm me if you want...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
1. Please post your System Information here.
2. I find this in your pagesource:
Try to uninstall GoogleCalendar or delete it out of your template.
Rolf
2. I find this in your pagesource:
Code: Select all
<div id="newscolumn">
<!-- <br />
<b>Warning</b>: Parameter days is not known by module GoogleCalendar dropped in <b>/var/www/html/lib/misc.functions.php</b> on line <b>1418</b><br />
<br />
<b>Warning</b>: Parameter template is not known by module GoogleCalendar dropped in <b>/var/www/html/lib/misc.functions.php</b> on line <b>1418</b><br />
<h3>Upcoming Events</h3>
<div id="thisweek">
<dl>
</dl>
</div> -->
<h3>Upcoming Events</h3>
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Uninstalled Google Calendar
----------------------------------------------
Cms Version: 1.7.1
Installed Modules:
CMSMailer: 2.0
FileManager: 1.0.2
MenuManager: 1.6.3
ModuleManager: 1.3.3
News: 2.10.5
nuSOAP: 1.0.1
Printing: 1.0.4
Search: 1.6.3
ThemeManager: 1.1.1
TinyMCE: 2.7.0
Album: 0.9.3
CGExtensions: 1.18.8
Captcha: 0.4
CGFeedMaker: 1.0.11
FormBuilder: 0.6.2
Config Information:
php_memory_limit:
process_whole_template: true
max_upload_size: 10000000
default_upload_permission: 664
assume_mod_rewrite: true
page_extension:
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.13
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 60
safe_mode: Off (False)
session_save_path: /var/lib/php/session (0770)
session_use_cookies: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.84
----------------------------------------------
----------------------------------------------
Cms Version: 1.7.1
Installed Modules:
CMSMailer: 2.0
FileManager: 1.0.2
MenuManager: 1.6.3
ModuleManager: 1.3.3
News: 2.10.5
nuSOAP: 1.0.1
Printing: 1.0.4
Search: 1.6.3
ThemeManager: 1.1.1
TinyMCE: 2.7.0
Album: 0.9.3
CGExtensions: 1.18.8
Captcha: 0.4
CGFeedMaker: 1.0.11
FormBuilder: 0.6.2
Config Information:
php_memory_limit:
process_whole_template: true
max_upload_size: 10000000
default_upload_permission: 664
assume_mod_rewrite: true
page_extension:
internal_pretty_urls: false
use_hierarchy: true
Php Information:
phpversion: 5.2.13
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
memory_limit: 64M
max_execution_time: 60
safe_mode: Off (False)
session_save_path: /var/lib/php/session (0770)
session_use_cookies: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.84
----------------------------------------------
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
any further thoughts?
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
The only thing I can think of at the moment, is something went wrong during the upgrade of the database...
Can you put back a backup and try to upgrade again?
Can you put back a backup and try to upgrade again?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
In the database, there is the "cms_content" table which is missing a "secure" column of data. Does anyone have the default value for this column so maybe I can just create it manually with default values?
Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13
Did you even execute the upgrade.php after uploading the files of CMSms 1.7.1?