| Pages: [1] |
|
|
Author |
Topic: Installation error and upload folder not accessible (Read 27 times) |
|
zwaluw
Beta Tester
Posts: 14
|
Since my provider has installed PHP5 on his server I'am encountering some problems with Snippetmaster Pro 2, before there were no problems.
First the excisting Snippetmaster in DOMAIN/cms ( or /var/www/p/DOMAIN/html/cms ) can't upload any images anymore in the folder DOMAIN/images (or /var/www/p/DOMAIN/html/images CHMOD value of 777).
(The altering of html pages with Snippettags in DOMAIN is still working.)
When trying to upload an image to this folder (.../images) I'am getting the next error message (translated from Dutch):
ERROR - The file could not be send
The file you tried to send could not be placed on the server.
I have contacted my provider to ask if they had changed the CHMOD value of my webroot, but it has still the CHMOD value of 755, so that can't be the problem.
Second I can't install Snippetmaster (using autoinstaller.php) on the server.
Here's the error message:
The Install Now! button will become enabled once you have selected the correct folder.
Warning: ftp_nlist() [function.ftp-nlist]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/p/DOMAIN) in /var/www/p/DOMAIN/html/cms2/autoinstaller.php on line 133
Warning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory. in /var/www/p/DOMAIN/html/cms2/autoinstaller.php on line 133
But there is a Temp directory ( /var/www/p/DOMAIN/tmp) with a CHMOD value of 777.
What's wrong here?
|
|
|
|
|
|
Jenkinhill
|
I use SnippetMaster under PHP5 with no issues. Does sound to me like a host configuration issue. For the image upload issue have you checked php.ini to see if file upload is enabled? It does seem, though, that you don't have write permissions for temp files despite 777 permissions. Directory ownership???
You should be able to do a manual install even if you can't create temp files.
|
Kelvyn
|
|
|
|
zwaluw
Beta Tester
Posts: 14
|
Hi Jenkinhill,
Thanks for the reply.
I'am not allowed to change php.ini, but I will ask my provider if they will check the settings.
If I will do a manual install of Snippetmaster, I'am afraid the folder /images will still not be accessible.
And besides, I have Snippetmaster already running on the server. The new install was only a attemp to solve the upload problem.
Because you and others don't have problems with Snippetmaster under PHP5, I think it's after all a provider issue.
Hope they will help me out.
(I'am afraid they wan't)
|
|
|
|
|
|
Jenkinhill
|
You should also look to check that these entries in php.ini are correct:
session.save_path = /[your web home directory]/tmp
upload_tmp_dir = /[your web home directory]/tmp
You may be able to use .htaccess to "solve" the problem - although if the host is set up correctly you should not need to, and you may need to check the syntax with the host.
for the session save path:
php_value session.save_path /www/path_to_your_site/tmp
for the tmp directory:
php_value upload_tmp_dir /www/path_to_your_site/tmp
Of course, if Henri were here he could recommend a host where SnippetMaster is guaranteed to work. 
|
Kelvyn
|
|
|
|
|
Pages: [1]
|
|
|
|