Error after moving site from xampp to server (1.8.1)

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Sam Granger
New Member
New Member
Posts: 5
Joined: Tue Jul 27, 2010 1:54 pm

Error after moving site from xampp to server (1.8.1)

Post 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
Last edited by Sam Granger on Tue Jul 27, 2010 2:02 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

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

Post by Rolf »

release 1.8.1 needs php version 5.2.4 or higher...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Sam Granger
New Member
New Member
Posts: 5
Joined: Tue Jul 27, 2010 1:54 pm

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

Post by Sam Granger »

Bedankt Rolf!

Guess I'll have to have my server upgraded.
Sam Granger
New Member
New Member
Posts: 5
Joined: Tue Jul 27, 2010 1:54 pm

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

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

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

Post by Rolf »

Cleared Cache yet?

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Sam Granger
New Member
New Member
Posts: 5
Joined: Tue Jul 27, 2010 1:54 pm

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

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

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

Post by Rolf »

Please look into your PHP Error Log, perhaps any errors there??

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Sam Granger
New Member
New Member
Posts: 5
Joined: Tue Jul 27, 2010 1:54 pm

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

Post 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?
Last edited by Sam Granger on Sun Aug 08, 2010 8:52 pm, edited 1 time in total.
replytomk3

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

Post 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.
User avatar
manuel
Power Poster
Power Poster
Posts: 354
Joined: Fri Nov 30, 2007 9:15 am

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

Post 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
Do you like your open source cms? Buy from the CMSMS partners || Donate
User avatar
ethan2cyc
Forum Members
Forum Members
Posts: 28
Joined: Sun Jan 09, 2011 1:29 pm

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

Post 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?
User avatar
M@rtijn
Power Poster
Power Poster
Posts: 706
Joined: Sat Nov 14, 2009 4:54 pm

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

Post 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
Make your community a better place!
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

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

Post 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...
replytomk3

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

Post by replytomk3 »

And always clear cache when changing paths.
User avatar
manuel
Power Poster
Power Poster
Posts: 354
Joined: Fri Nov 30, 2007 9:15 am

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

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”