Having recently got my Drupal 5 site more or less as I like it on my local machine, I am attempting to get it working on the live server.

My database connection works just fine, because the home page is returning the article abstracts as expected. Some CSS formatting is also getting applied, but there is NO SIGN of the header, footer or side menu columns.

Because I can see the CSS this presumably isn't an issue with paths.
As the database connection works it can't be SQL.
Which perhaps means its PHP... a version issue?

My local version: 5.2.0
Remote server: 4.3.2

Anyone encountered this before? Any ideas? Do I need to change something in settings.php / .htaccess files to tell drupal about the version of PHP that's in play?

Comments

MarkSteven’s picture

OK - I'm getting there, some of these problems resolved by exporting SQL with 4.30 compatability. I also swithced off the search module which I've heard can be problematic for earlier versions of PHP.

Some other errors were written to the page but when I go back to read them they're gone. Makes me uneasy. But things are generally looking up.

MarkSteven’s picture

So having got things more or less running, I find the login form isn't working.

When I do finally get into the edit account pages (by sending myself a new password / link) and making a change, I see a whole series of compilation errors.

warning: Compilation failed: characters with values > 255 are not yet supported in classes at offset 27 in /home/httpd/vhosts/******/httpdocs/modules/user/user.module on line 256.

warning: Compilation failed: unrecognized character after (? at offset 8 in /home/httpd/vhosts/******/httpdocs/modules/node/node.module on line 1157.

warning: Compilation failed: unrecognized character after (? at offset 8 in /home/httpd/vhosts/******/httpdocs/modules/node/node.module on line 1157.

These appear to crop up when regular expressions are being used, which may be a clue to someone more knowledgeable than me with PHP...

Ideas?