[Upgrade-Problem] Fatal error: Call to a member function on a non-object...
[Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Hallo zusammen!
Erstmal ein großes Lob an die Programmierer des CMSMS für dieses tolle CMS und dieses Forum, daß mir schon oft weitergeholfen hat.
Nun habe ich leider folgendes Problem:
Bei dem Upgrade von 0.11.2 auf 0.13 ist irgendwas passiert; wenn ich auf "Inhalt->Seiten" klicke, kommt folgende Fehlermeldung:
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms/lib/classes/class.content.inc.php on line 2139
Vielleicht hilft die Info, daß ich das CMSMS mit 0.11.1 installiert habe, dann auf 0.11.2 und nun eben auf 0.13
Ich habe die Datei mal angehängt (das .txt löschen). Die Suchfunktion im Forum habe ich schon benutzt, nur eine Lösung habe ich leider nicht gefunden. (Meine Fähigkeiten bzgl. PHP sind leider auch sehr begrenzt)
Viele Grüße, ezzemm
[attachment deleted by admin]
Erstmal ein großes Lob an die Programmierer des CMSMS für dieses tolle CMS und dieses Forum, daß mir schon oft weitergeholfen hat.
Nun habe ich leider folgendes Problem:
Bei dem Upgrade von 0.11.2 auf 0.13 ist irgendwas passiert; wenn ich auf "Inhalt->Seiten" klicke, kommt folgende Fehlermeldung:
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms/lib/classes/class.content.inc.php on line 2139
Vielleicht hilft die Info, daß ich das CMSMS mit 0.11.1 installiert habe, dann auf 0.11.2 und nun eben auf 0.13
Ich habe die Datei mal angehängt (das .txt löschen). Die Suchfunktion im Forum habe ich schon benutzt, nur eine Lösung habe ich leider nicht gefunden. (Meine Fähigkeiten bzgl. PHP sind leider auch sehr begrenzt)
Viele Grüße, ezzemm
[attachment deleted by admin]
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Dazwischen gab es noch die 0.12 ...ezzemm wrote: Vielleicht hilft die Info, daß ich das CMSMS mit 0.11.1 installiert habe, dann auf 0.11.2 und nun eben auf 0.13
Spass beiseite - wie genau hast du die jeweiligen Versionen installiert? Einfach nur die Dateien drübergebügelt oder auch ein Upgrade der Datenbank gemacht (./install/upgrade.php)?
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Servus )
Die 0.12 habe ich ausgelassen. Ich wollte ein produktives System nicht ändern, wenn kein Not am Mann ist. Da ich aber ein Berechtigungssystem einbauen muß, und FrontendUsers 0.13 braucht, wars nun an der Zeit
Zu deiner Frage: Ich habe jeweils das Upgrade durchgeführt mittels upgrade.php
Zumindest bei 0.11.2->0.13; bei 0.11.1 auf 0.11.2 bin ich mir nicht so sicher. Damals habe ich gerade erst angefangen, mich in das CMSMS, und in PHP-Anwendungen überhaupt, einzuarbeiten.
Gruß, ezzemm
Die 0.12 habe ich ausgelassen. Ich wollte ein produktives System nicht ändern, wenn kein Not am Mann ist. Da ich aber ein Berechtigungssystem einbauen muß, und FrontendUsers 0.13 braucht, wars nun an der Zeit
Zu deiner Frage: Ich habe jeweils das Upgrade durchgeführt mittels upgrade.php
Zumindest bei 0.11.2->0.13; bei 0.11.1 auf 0.11.2 bin ich mir nicht so sicher. Damals habe ich gerade erst angefangen, mich in das CMSMS, und in PHP-Anwendungen überhaupt, einzuarbeiten.
Gruß, ezzemm
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Kann mir keiner helfen?
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Can read german better than write - sorry for the englisch reply.
If I've understand right your new/upgraded 0.13 installation works, only on content -> pages there you have a problem.
Please try this:
- Make a backup from your current database (http://dev.cmsmadesimple.org/projects/databasebackup/)
- create a fresh (not upgraded) cmsms installation in your test area (local xampp server for instance)
- install the used modules/plugins from your 0.11 installation
- import the backup
If it works now you have "only" an upgrade problem. Then you can repeat this with your current (online) installation.
There are a lot of changes between 0.11 and 0.13 so an upgrade can be difficult sometimes.
If I've understand right your new/upgraded 0.13 installation works, only on content -> pages there you have a problem.
Please try this:
- Make a backup from your current database (http://dev.cmsmadesimple.org/projects/databasebackup/)
- create a fresh (not upgraded) cmsms installation in your test area (local xampp server for instance)
- install the used modules/plugins from your 0.11 installation
- import the backup
If it works now you have "only" an upgrade problem. Then you can repeat this with your current (online) installation.
There are a lot of changes between 0.11 and 0.13 so an upgrade can be difficult sometimes.
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Hello Quadracer, thank you for your help
On your advert, I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.13
- with Backup0.5 I restored my Backup of my ProductiveSystem I made with Backup0.4
- This worked, but I klick on "Content->Pages", I recieve the old message
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
Then I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.11.2
- with Backup0.4 I restored my Backup of my ProductiveSystem I made with Backup0.4
- I deleted Backup0.4 and installed Backup0.5
- Then I want to make a Backup, but I received following message:
Fatal error: Call to undefined function: getdb() in /homepages/23/d18758287/htdocs/cms_test/modules/Backup/Backup.module.php on line 232
And then I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.13
- with Backup0.4 I restored my Backup of my ProductiveSystem I made with Backup0.4
- This worked, but I klick on "Content->Pages", I recieve the old message
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
What can I do else?
On your advert, I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.13
- with Backup0.5 I restored my Backup of my ProductiveSystem I made with Backup0.4
- This worked, but I klick on "Content->Pages", I recieve the old message
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
Then I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.11.2
- with Backup0.4 I restored my Backup of my ProductiveSystem I made with Backup0.4
- I deleted Backup0.4 and installed Backup0.5
- Then I want to make a Backup, but I received following message:
Fatal error: Call to undefined function: getdb() in /homepages/23/d18758287/htdocs/cms_test/modules/Backup/Backup.module.php on line 232
And then I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.13
- with Backup0.4 I restored my Backup of my ProductiveSystem I made with Backup0.4
- This worked, but I klick on "Content->Pages", I recieve the old message
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
What can I do else?
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Hmm, but a fresh installation works?
Which modules you are using?
Have you installed some other exotic modules?
Have you changed something in source?
Don't know if there are some changes from 0.11.2 to 0.13
Have you tried an update to version 0.12.1 before?
Which modules you are using?
Have you installed some other exotic modules?
Have you changed something in source?
Line 2139 told thisezzemm wrote: Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
Code: Select all
while ($currentNode->getLevel()!=$curlevel) {
If I'm right backup version 0.5 is a customized version for adodb lite so CMSms 0.11.2 can't understand this.- Then I want to make a Backup, but I received following message:
Fatal error: Call to undefined function: getdb() in /homepages/23/d18758287/htdocs/cms_test/modules/Backup/Backup.module.php on line 232
Have you tried to import only the content database table manually (with phpmyadmin)?What can I do else?
Have you tried an update to version 0.12.1 before?
Last edited by quadracer on Sun Jul 09, 2006 9:33 am, edited 1 time in total.
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Hello Quadracer
On your advert, I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.11.2
- with Backup0.4 I restored my Backup of my ProductiveSystem I made with Backup0.4
- then I updated the system to 0.12
- This worked, but I klick on "Content->Pages", I recieve the old message
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
- and if I want to make an Backup with the module, I receive following message:
Fatal error: Call to undefined function: metatables() in /homepages/23/d18758287/htdocs/cms_test/modules/Backup/Backup.module.php on line 233
- and if I restore the first Backup I receive on the klick on "Content->Pages" following message:
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2073
I dont use other Modules except Backup
On your advert, I did following:
- I installed on my 2nd SQL-DB a testinstallation with 0.11.2
- with Backup0.4 I restored my Backup of my ProductiveSystem I made with Backup0.4
- then I updated the system to 0.12
- This worked, but I klick on "Content->Pages", I recieve the old message
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2139
- and if I want to make an Backup with the module, I receive following message:
Fatal error: Call to undefined function: metatables() in /homepages/23/d18758287/htdocs/cms_test/modules/Backup/Backup.module.php on line 233
- and if I restore the first Backup I receive on the klick on "Content->Pages" following message:
Fatal error: Call to a member function on a non-object in /homepages/23/d18758287/htdocs/cms_test/lib/classes/class.content.inc.php on line 2073
I dont use other Modules except Backup
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Ich weiß nun wo das Problem lag. Ich hatte Seiten, die sehr lang waren; mehrere tausend Zeichen. Diese in Version 11.2 gelöscht, auf 13 upgegraded, funktioniert
Re: [Upgrade-Problem] Fatal error: Call to a member function on a non-object...
Na da soll einer drauf kommen - besten Dank für die Info ...