Hosting and some Error in folders and files path
Permalink
Hi,
I'm in front of a problem and i think its a server side problem.
After a fresh upload of a local website to the live server i encounter a ZEND error telling me this :
So i did change the tmp folder to their own and did change :
change the line 91 to this :
The warning disapear and i get another one which is the one below :
So i change this file :
Change this on line 158 :
to this
Warning disapear and everything worked fine.
But i can't upload Files and seams that some of the gallery i use cant show thumbnails.
Any helps about this would be nice ?
I'm in front of a problem and i think its a server side problem.
After a fresh upload of a local website to the live server i encounter a ZEND error telling me this :
So i did change the tmp folder to their own and did change :
www/concrete/libraries/3rdparty/Zend/Cache/Backend/File.php
change the line 91 to this :
protected $_options = array( 'cache_dir' => 'tmp',
The warning disapear and i get another one which is the one below :
So i change this file :
www/concrete/core/headers/File.php
Change this on line 158 :
if (!is_dir(DIR_BASE . '/files/tmp')) { @mkdir(DIR_BASE . '/files/tmp', DIRECTORY_PERMISSIONS_MODE); @chmod(DIR_BASE . '/files/tmp', DIRECTORY_PERMISSIONS_MODE); @touch(DIR_BASE . '/files/tmp/index.html'); } if (is_dir(DIR_BASE . '/files/tmp') && is_writable(DIR_BASE . '/files/tmp')) { return DIR_BASE . '/files/tmp'; }
to this
Warning disapear and everything worked fine.
But i can't upload Files and seams that some of the gallery i use cant show thumbnails.
Any helps about this would be nice ?