concrete 5.7.4.1 migration: Casing Issues, No such File or Directory
Permalink
Hi all,
I have a site built in 5.7.4.1 which is complete and working locally, i'm using MAMP running PHP 5.6.
I now have some issues migrating.
I uploaded all files and the database and changed the config.
I then had this session error:
is_dir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/mysite.co.uk/:/tmp/)
I resolved this by changing my php 'open_basedir' to 'none'
I now have another issue that I cannot resolve:
I tried to access the homepage and got this error:
include(/var/www/vhosts/mysite.co.uk/httpdocs/concrete/blocks/html/view.php): failed to open stream: No such file or directory
This directory does exist except that the folder 'html' is actually 'Html', if I change the case to 'html' it gets past this issue and throws this error:
Class '\Concrete\Block\Html\Controller' not found
also, If I access the login page via this url:
http://www.mysite.co.uk/index.php/login...
I receive this error:
Concrete\Core\Authentication\AuthenticationType::renderForm(): Failed opening required '/var/www/vhosts/mysite.co.uk/httpdocs/concrete/authentication/concrete/form.php' (include_path='/var/www/vhosts/mysite.co.uk/httpdocs/concrete/vendor:.:/opt/plesk/php/5.6/share/pear')
I tried the login page as it would not have any custom modifications.
Again, the folder 'Authentication' is actually 'authentication', if I change it to 'Authentication' in the file system I get this error:
Class \Concrete\Authentication\Concrete\Controller does not exist
I have other C5 sites hosted on my server but not 5.7.4.1, I have 5.7.3.x
This casing issue does not affect the site when run locally.
I have tried upgrading to 5.7.4.2 but it warns that I have over 100 overrides and completely breaks the site so did not pursue further.
I have checked the MySql database and all of the table names are camel cased as I have read a few articles related to casing issues when moving from windows hosted local databases.
Any help here would be much appreciated.
Thanks
I have a site built in 5.7.4.1 which is complete and working locally, i'm using MAMP running PHP 5.6.
I now have some issues migrating.
I uploaded all files and the database and changed the config.
I then had this session error:
is_dir(): open_basedir restriction in effect. File(/var/lib/php/session) is not within the allowed path(s): (/var/www/vhosts/mysite.co.uk/:/tmp/)
I resolved this by changing my php 'open_basedir' to 'none'
I now have another issue that I cannot resolve:
I tried to access the homepage and got this error:
include(/var/www/vhosts/mysite.co.uk/httpdocs/concrete/blocks/html/view.php): failed to open stream: No such file or directory
This directory does exist except that the folder 'html' is actually 'Html', if I change the case to 'html' it gets past this issue and throws this error:
Class '\Concrete\Block\Html\Controller' not found
also, If I access the login page via this url:
http://www.mysite.co.uk/index.php/login...
I receive this error:
Concrete\Core\Authentication\AuthenticationType::renderForm(): Failed opening required '/var/www/vhosts/mysite.co.uk/httpdocs/concrete/authentication/concrete/form.php' (include_path='/var/www/vhosts/mysite.co.uk/httpdocs/concrete/vendor:.:/opt/plesk/php/5.6/share/pear')
I tried the login page as it would not have any custom modifications.
Again, the folder 'Authentication' is actually 'authentication', if I change it to 'Authentication' in the file system I get this error:
Class \Concrete\Authentication\Concrete\Controller does not exist
I have other C5 sites hosted on my server but not 5.7.4.1, I have 5.7.3.x
This casing issue does not affect the site when run locally.
I have tried upgrading to 5.7.4.2 but it warns that I have over 100 overrides and completely breaks the site so did not pursue further.
I have checked the MySql database and all of the table names are camel cased as I have read a few articles related to casing issues when moving from windows hosted local databases.
Any help here would be much appreciated.
Thanks