Page 1 of 2

Error after moving site from xampp to server (1.8.1)

Posted: Tue Jul 27, 2010 1:58 pm
by Sam Granger
Changed all the configuration, chmodded folders correctly as far as I know, database import, you name it.

Now I'm getting the following error:
Fatal error: Class 'RegexIterator' not found in /lib/classes/class.CmsRegularTaskHandler.php on line 62

Does anyone know what could be causing this?

Running on PHP 5.1.6 & CMSMS 1.8.1

Re: Error after moving site from xampp to server (1.8.1)

Posted: Tue Jul 27, 2010 2:21 pm
by Rolf
release 1.8.1 needs php version 5.2.4 or higher...

Re: Error after moving site from xampp to server (1.8.1)

Posted: Tue Jul 27, 2010 2:26 pm
by Sam Granger
Bedankt Rolf!

Guess I'll have to have my server upgraded.

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Aug 08, 2010 5:32 pm
by Sam Granger
Got it working, but had to upgrade my server again (PHP 5.3.3) & I'm getting a blank page. Put debugging to true but still get a blank page. :(

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Aug 08, 2010 6:05 pm
by Rolf
Cleared Cache yet?

Rolf

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Aug 08, 2010 8:19 pm
by Sam Granger
Hey Rolf,

Just tried clearing the cache without success I'm afraid.

Thanks for the suggestion though, I didn't think about that!

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Aug 08, 2010 8:27 pm
by Rolf
Please look into your PHP Error Log, perhaps any errors there??

grtz. Rolf

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Aug 08, 2010 8:36 pm
by Sam Granger
No log files are being created - Also tried the following in index.php:

error_reporting(E_ALL | E_STRICT);

And also tried this in config.php:
error_reporting(E_ALL);
ini_set('display_errors', '1');

I'm just getting a blank page.

Server settings can be seen here: http://www.serve2.com

Can't see what I don't have that CMSMS requires :(

EDIT - I see a warning in my phpinfo() - let me get that fixed first, might well be the issue!

EDIT 2 - PHPinfo warning fixed, was the timezone. CMSMadeSimple however still displays a blank page, could it be 5.3.3?

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Aug 08, 2010 11:54 pm
by replytomk3
You have missed some settings in config.php or .htaccess. Did you use pretty URLs? Have you checked ALL paths in config.php? PM me link.

Re: Error after moving site from xampp to server (1.8.1)

Posted: Thu Dec 23, 2010 2:11 pm
by manuel
Hi Sam,

I fixed this error message by correcting the paths in my config.php after moving to a new host.

Greetings,
Manuel

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Jan 09, 2011 1:33 pm
by ethan2cyc
manuel wrote:Hi Sam,

I fixed this error message by correcting the paths in my config.php after moving to a new host.

Greetings,
Manuel
I have got a same problem. Could you show me the config.php content?

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Jan 09, 2011 1:53 pm
by M@rtijn
His config.php will differ from yours. If you have moved your installation, the problem probably lies in the paths. You'll have to remove the sub folder your installation was in, or set it to your new host.

You have to correct these paths:

Code: Select all

$config['root_url']
$config['root_path']
$config['previews_path']
$config['uploads_path']
$config['image_uploads_path']
Also, in .htaccess there is a line

Code: Select all

#Sub-dir e.g: /cmsms
RewriteBase /
There should be nothing behind the slash here

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Jan 09, 2011 4:42 pm
by Dr.CSS
When moving a site it helps sometimes to run install again, BUT ON STEP 5 UNTICK THE CREATE TABLES AND INSTALL DEFAULT CONTENT AT BOTTOM WHEN INPUTTING DB INFO this will correct any path problems, and yes if you have an .htaccess file with RewriteBase /subfolder then remove the subfolder...

Re: Error after moving site from xampp to server (1.8.1)

Posted: Sun Jan 09, 2011 4:59 pm
by replytomk3
And always clear cache when changing paths.

Re: Error after moving site from xampp to server (1.8.1)

Posted: Mon Jan 10, 2011 2:01 pm
by manuel
Sometimes the absolute paths you need to fill out are different from the paths that are shown in your ftp client...
If you don't know the correct paths, you can always upload a phpinfo.php file to your account to find them. (don't forget to remove the phpinfo.php file afterwards)

The contents of the phpinfo.php file should be:
<?php
phpinfo();
phpinfo(INFO_MODULES);
?>
Greetings,
Manuel