Problem migrating original site from old developer to new platform

Permalink
Hi

I am migrating a site from a Linux platform to a windows platform as the client has a Windows VPS and wants all sites on that platform. I'm a Concrete5 newbie but have been been developing in PHP and MySQL since 2002. on both Linux and Windows.

Followed the forum threads and installed the MySQL DB without error, Setup IIS and uploaded the site files. Modified the site.php file for the DB and URL as it is pointing to the IP address for the site until the domain a record is changed. Set the permissions and created a web.config with rewrite rules to replace the .htaccess file.

First problem was lots of strict errors. Tried editing PHP.INI, same problem. Thought it must be down to a PHP version issue as version 5.4 is on the server.

Decided to manually update and went through from v5.4.x (original) to 5.5.2.1 copying the concrete folder than upgrading manually. Now have no strict errors but get a 'display($c); ?>' shown in the header and centre pane. All the rest seems the same as the original site (still live).

Apparently the global header and centre pane is a scratchpad and should be a stack? Could the site.php URL change cause a problem.

Would appreciate a bit of guidance. Thanks.

1 Attachment

 
WebcentricLtd replied on at Permalink Best Answer Reply
hi,
you say 'Now have no strict errors but get a 'display($c); ?>' shown in the header and centre pane'.

This would imply that you possibly have a closing ?> somewhere where it shouldn't be - right before 'display($C);?> - maybe a duplicate of that code?

I'd first look at the page template and find that string and see if it is duplicated or if the php is closed early by accident.
colinjmorgan replied on at Permalink Reply
You are an absolute hero!

The previous developer had used both types of tags '<?' and '<?php' in the home.php file in the themes/custom theme folder. The PHP.INI settings did not allow short tags '<?'.

Solved.
WebcentricLtd replied on at Permalink Reply
lol - that'd do it...