Page 1 of 1

function signature() in .... class.cms_route_manager.php

Posted: Sat Jan 28, 2017 4:15 pm
by spaceman007
Hello community, unfortunatly I need you help.

I am helping a friend with her IT and web stuff. Since she did host her sites and shops on different hosters, I am consolidating everything to a single one.

One of her sites is made with CMS Made Simple:

$CMS_VERSION = "1.11.8";
$CMS_VERSION_NAME = "Fioreana";
$CMS_SCHEMA_VERSION = "36";

I did get the files and DB-Dump from the current provider and tried to install them on the new system.

Its an FreeBSD System with PHP Version 5.6.29, CGI/FastCGI and "10.1-MariaDB"

After I have copied the files to the server, installed the DB and changed the connection to the Database, I get an error:

Code: Select all

Fatal error: Call to a member function signature() on boolean in /home/*****/www/**********/lib/classes/class.cms_route_manager.php on line 370
To make sure that CMS Made Simple works on the system, I downloaded the lates version and installed it, this worked fine. ( I actually saw the CMS the first time in action and I must say it looks intresting! )

I have already tried to ask mr.google for an answer, but could not find a solution for my problem. Debug mode does not change the error message, the logfile shows the same message that I see online.

So you see, I am kind of stucked since I do not now the CMS yet :-) Did anyone ran into the same problem and can give me some good inputs or hints?

Thank you very much!

Re: function signature() in .... class.cms_route_manager.php

Posted: Sun Jan 29, 2017 11:11 pm
by paulbaker
Delete cache by deleting everything in /tmp/templates_c/ and /tmp/cache/ directories.

Did you follow the method in here? (you should have done):
https://docs1.cmsmadesimple.org/moving

Once you have it up and running you will need to upgrade to a supported version (1.11.8 is out of date).

[solved] function signature() in....class.cms_route_manager.

Posted: Mon Jan 30, 2017 9:03 pm
by spaceman007
Hello paulbaker

Thanks for your support!

in the meantime it's working, I just comment out the line that was mentioned in the error message and figured, that I was able to log into the admin part. ( with a lot of errors )

Code: Select all

				//self::$_routes[$obj->signature()] = $obj
Then I installed the same version ( 1.11.8 ) of CMSMS from scrach and compared files and database from the new and old installation.

I found some errors ( non supported php functions, i guess ) in the modul-files that do not belong to the code system and a lot of "\\r\\n" and "\r\n" in the sql that I have received from the other provider. They were processes as text and not as functional characters. I think the styles and templates were f***d up due to that...

After those corrections, everything was working fine. The line from the error message is still commented out, but I can't see any negativ effects.

Now I need to update to a version that is up-do-date :)

Thanks again!