ari Posted January 23, 2005 Share Posted January 23, 2005 Hi, I just moved my osCommerce site from a shared hosting outfit to a VPS / Plesk 7.1.5. Unfortunately, the keyword show contribution stopped working. I tried the host's support and searched this forum, but could not find an answer, Perhaps someone here has an idea. Here's what's happening: I supplied the script with the absolute path to the log file /home/httpd/vhosts/mydomain.com/statistics/logs/access_log - nothing works? I then copied the file access_log to /tmp and to /httpdocs just to test the script using the following paths: /home/httpd/vhosts/mydomain.com/tmp/access_log and /home/httpd/vhosts/mydomain.com/httpdocs/access_log, respectively. The script runs successfully when pointed to /httpdocs. I noticed that the permissions on the /statistics are not the same as /httpdocs, so I asked the host to give the ftp user for that domain rights on /statistics... it did not help. The error by the way is the same error one would get when supplying the WRONG path: in /home/httpd/vhosts/exit15.com/httpdocs/admin/keyword_show.php on line 82 Warning: gzclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/exit15.com/httpdocs/admin/keyword_show.php on line 116 Keywords, search from Google Warning: gzgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/exit15.com/httpdocs/admin/keyword_show.php on line 121 And so on.... So I am guessing that somehow the PHP engine or the script cannot read files outside /httpdocs. My previous host had a similar structure, (htdocs and logs) and it worked fine there. What can the problem be? Thanks Ari Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.