| Author |
Message |
wishmaster22
|
Posted: 5 Feb 2006 18:25:42
Because of safe mode implementation my host has to change ownership for any new category that I create. After this is done each new directory takes you to an empty dir. There are no index, error log, or listings.php files being created. Does anyone know what I am suppose to do after the host changes ownership?
Thanks
|
skalinks Admin
|
Posted: 7 Feb 2006 04:08:31
Change your hosting provider.
Thank you.
|
BEN Member
|
Posted: 7 Feb 2006 10:40:37
Come on SL - thats not very helpful!! ;)
Is there not a work around, like manually creating the folders & files?
|
skalinks Admin
|
Posted: 8 Feb 2006 06:38:03
Hello BEN
What other way can you propose? Ofcourse, wishmaster22 can change chmod for every category , which he created, but it is very bad, if he need to do it manually. Otherwise, he need only change his hosting provider, and there wil not be any problems. ;)
Thank you!
|
BEN Member
|
Posted: 8 Feb 2006 08:56:22
Hi SL,
Thats what I was thinking....see it will be a pain in the butt, but if they only have a few categories then it shouldnt be so bad.
Plus, if like me, you are with a host that you know & trust, you dont want to switch hosts asap - work arounds are alot better! Plus people pay anually for their hosting, so it may not be posible.
Anyway, keep up the good work :)
|
Wishmaster22
|
Posted: 8 Feb 2006 09:01:37
Here was my solution. I created the categories that I needed. I had the host change ownership. I then copied the listings.php file and the index.php file that I had in one of my working directories. I then edited the index.php file .
Ex.-------
<?php $id = 1; require_once( '/home/mydomain/public_html/get-paid-at-home/skalinks_1_4/index.php' ); ?>
Where it says php$id=1 I changed the one to represent what each category was in my mysql database.
I then made sure that each new category directory had an index.php file modified with the correct id to match the database , and a listings.php file
After that it works.
Hope this helps others with safe mode issues.
|
skalinks Admin
|
Posted: 10 Feb 2006 05:47:21
Hello Wishmaster22.
You can solve your problem by following further instructions.
Open file Skalinks.class.php in Skalinks_include folder and find the function mkdir() and replace the second argument of this function "0755" with "0777".
|