PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

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.
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

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
baresi
Forum Members
Forum Members
Posts: 129
Joined: Fri Jul 27, 2007 4:15 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by baresi »

Could be

http://forum.cmsmadesimple.org/index.ph ... #msg212469

EDIT: I noticed you have posted there yourself  :D
User avatar
Gu
New Member
New Member
Posts: 7
Joined: Mon Jun 07, 2010 1:50 am

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by Gu »

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
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

I upgraded PHP before I upgraded CMS
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

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.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by Rolf »

Somebody got a link here?

Rolf  :)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

Rolf wrote: Somebody got a link here?

Rolf  :)
Link to my webserver?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by Rolf »

Yep, you can pm me if you want...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by Rolf »

1. Please post your System Information here.

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>
Try to uninstall GoogleCalendar or delete it out of your template.

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

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

----------------------------------------------
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

any further thoughts?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by Rolf »

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?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

No, I can't. 
tmar89
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 30, 2009 8:44 pm

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by tmar89 »

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?
NaN

Re: PHP error after upgrading to CMS 1.7.1 and PHP 5.2.13

Post by NaN »

Did you even execute the upgrade.php after uploading the files of CMSms 1.7.1?
Post Reply

Return to “CMSMS Core”