1
wcrwcr
MyAds - Permissions issues
  • 2004/9/3 23:01

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi MyAdsers

Reading module?s "readme.txt" we see that the permissions should be set as:

========================================
+ IMPORTANT!!!
- modify rights for /images_ann/ to CHMOD 777
- modify rights for config.php and /cache/ to CHMOD 666
==========================================================

Well, with the first one (images_ann) chmod 777 works well.
But if I follow the second one i have an error like this:

============================================================
ErrorWarning [PHP]: main(): Unable to access /www/star77/public_html/modules/myAds/cache/config.php in file modules/myAds/index.php line 23
Warning [PHP]: main(/www/star77/public_html/modules/myAds/cache/config.php): failed to open stream: Permission denied in file modules/myAds/index.php line 23
Warning [PHP]: main(): Failed opening '/www/star77/public_html/modules/myAds/cache/config.php' for inclusion (include_path='') in file modules/myAds/index.php line 23
=========================================================

So, I had to chmod the cache dir to 777 and the config.php file to 766 and the error is gone.

Do you see any problem with that "fix"?

Thanks.

PS. To all MyAds users: take a look at this nice hack made by Chadk >>https://xoops.org/modules/newbb/viewtopic.php?topic_id=24009&forum=15&post_id=105004#forumpost105004

2
ChadK
Re: MyAds - Permissions issues
  • 2004/9/7 16:42

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Hey wcrwcr, chmod your myAds/cache/ folder to 777 also. Not sure why the readme doesn't reflect this but yah, you won't get it working unless you do.
The config.php file should be 777 when you're making changes to it otherwise set that file to 755 or something.

Login

Who's Online

200 user(s) are online (127 user(s) are browsing Support Forums)


Members: 0


Guests: 200


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits