| Author |
Message |
dealnest Member
|
Posted: 23 Dec 2006 20:53:01
I keep getting this error
Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid/gid is 653/655 is not allowed to access /home/dealne67/public_html/links/callingcards1 owned by uid/gid 99/99 in /home/dealne67/public_html/links/SkaLinks_include/SkaLinks.class.php on line 315
Warning: fopen(/home/dealne67/public_html/links/callingcards1/index.php): failed to open stream: Permission denied in /home/dealne67/public_html/links/SkaLinks_include/SkaLinks.class.php on line 315
Warning: fwrite(): supplied argument is not a valid stream resource in /home/dealne67/public_html/links/SkaLinks_include/SkaLinks.class.php on line 317
Warning: fclose(): supplied argument is not a valid stream resource in /home/dealne67/public_html/links/SkaLinks_include/SkaLinks.class.php on line 318
|
dealnest Member
|
Posted: 23 Dec 2006 21:03:52
and I set the root dir chomd to 777 but it is reset automatically to 755 after I try to create a new dir
|
skalinks Admin
|
Posted: 25 Dec 2006 05:08:55
Hi Dealnest,
The error is SAFE MODE Restriction in effect. You should ask your hosting provider to disable SAFE MODE function.
Regards
|
louie Member
|
Posted: 25 Dec 2006 16:58:40
I have a similar problem as when I click on directory, dir tree or find url I get a 404 error, internal server error
|
skalinks Admin
|
Posted: 26 Dec 2006 03:43:51
Hello Louie,
I think there are some problems with ModRewrite. Probably you use Apache 2 web server, but our script requires only Apche 1.
Regards
|
louie Member
|
Posted: 26 Dec 2006 17:33:37
I fixed the problem thank you, turns out that I had to install in a sub dir:
example:
http://mysite/links/skalinks everything works as it should except for the prank
Thanks for a very nice product
Louie
|
skalinks Admin
|
Posted: 28 Dec 2006 03:37:37
Hi Louie,
I'm really glad that you eliminated that error. And thank you for your kind words.
Happy New Year!
|
Anonymous
|
Posted: 2 Jan 2007 15:12:32
Skalinks, you kill my day... I have apache 2, do you have any idea what I need to change to work with apache2? Is it emought to change roules mod_rewrite?
|
skalinks Admin
|
Posted: 3 Jan 2007 07:04:11
Hi, Anonymous
If everything is OK and there are no errors after SkaLinks installation, you shouldn't change anything; there is no need to do it. But if there are errors you can try to change roules mod_rewrite.
Good luck
|
louie Member
|
Posted: 3 Jan 2007 16:48:53
errors, check this out it may work
Many server companies are installing PHPSUEXEC on their servers. What this little gem does is disallow any file, folder or program from being viewed if any permissions are set at 777.
I finally found this problem after installing skalinks and everything worked except the folders and the .htacess file that were set as 777 as directed by the install instructions.
So, Before I discovered this I tried to install other scripts, same problem.
The cure for me was to change the files and folders from 777 to 755. Everything works perfect. Skalinks works as it should and admin is correct concerning server errors. But it is easy to fix once you know how
Troubleshooting Internal Server Errors (Error 500):
Everytime an internal server error occurs, it will be added to your Error Log in cPanel. (cPanel »» Error Log). This will usually give you a clue on where the error resides. In most cases it will be either a permission error on a bad command in your .htaccess file (remember that all php values have to go to your php.ini file).
Directories that need to be written onto will no longer require 777 as permissions and phpsuexec will refuse to write or read on directories exposed with such permissions. You will have to chmod them to 755 always.
To simplify it, just remember that you should never have a file or folder with world-writeable permissions, because you no longer have to.
|