Skip to content
FREE & OPEN SOURCE Million Dollar Script is a free WordPress plugin for sponsor walls, campaign grids, fundraiser boards, and premium add-on workflows.

Modifications

Access Permission

Started July 29, 2010 by Simona

Hi Admin,There were no new banner orders for about 2 months at my site. Today i`m trying the ordinary way of ordering. Everything goes fine with uploading the banner image, and writing the Ad But, when i go to Save Ad this message shows: You don't have permission to access /users/write_ad.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.I use validated user with privileged rights which worked great before. Nothing is changed inside before. I also tried to create new validate user and repeat the process but the same message appears.What may be the problem?I appreciate if you can help with this too.

10 replies

Hi there,Is the file /users/write_ad.php on your server still? Does it have the same file permissions as the other php files? You could try deleting and reuploading the file. If you made changes to the file you should back it up first.Ryan

Hi admin,Yes write_ad.php was still at my directory, with the same permission like the other files inside the user folder. ive delete and upload it again but problem still exist. Ive read the error_log file and it says: Older message in my error_log file was: PHP Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/pixeli/public_html/lang/english.php:1) in /home/pixeli/public_html/admin/admin_common.php on line 2Now it says:PHP Warning: Cannot modify header information - headers already sent by (output started at /home/pixeli/public_html/lang/english.php:1) in /home/pixeli/public_html/users/get_pointer_graphic.php on line 53My database name is pixeli, and i have all rights of the database user.Ive delete english.php and upload it again, but even that dont solve my problem. :(

Hi Admin,Checking my sql database i realized that When i Save Ad, my [b]404 Forbidden[/b] problem appears, but in the back end my order suddenly goes in temp_orders table, not in orders table. My previous orders are listed properly in orders table. Hope i helped you understanding my problem. :dry:

Hmm, Did you modify your language file? Perhaps there is an error in it somewhere.

Hi Admin,My problem disappeared after uploading the example.html file again.Everything is like before, with no problems at all. Sorry, for bothering you about nothing. :silly:

No worries! Thanks for letting me know you fixed it =)

Hi Admin,Same problem appears again. 403 Forbidden, when i try to save Ad. It says You don't have permission to access /users/write_ad.php on this server.Now, ive tried everything, even reinstalled the script, and recreated my database, and database user too, and i add all permissions to database. Now my database is empty, but problem is still there. Ive tried classic installation all over again without any modifications written outside of install documentation and leave write_ad file the same permission as the other files in the user folder.Sending you My error_log file in .att And, i`m really out of ideas now. :dry: [file name=eror_log.txt size=19349]https://milliondollarscript.com/media/kunena/attachments/legacy/files/eror_log.txt[/file]Attachments

Looks like you have suExec enabled on there and it looks like it probably wants you to set your file permissions to 600 and directories to 700. Doesn't sound like it likes the group to have any permissions.

Hi Admin,I know that suEXEC comes with apache installation. But i havent installed anything else an this host except your script and everything that comes with it. Im not sure that this could cause that problem, because ive recheck the permissions of all files with other ftp program, and there are no mistakes. At the end of script installation, system check says: all listed directories are OK and writable. And if it is really apache problem, i dont know if i can solve, because i dont install apache manually, so PLS be more specific about this term. I really dont know how everything worked fine at the beginning, now problem suddenly appears and still exists.Many thanks for your effort.

Try to modify the permissions of write_ads.php to 600.The install does not check this files permissions I don't think. I don't know why it would be different than before. Maybe your host has changed something? Or maybe it was something to do with a modification you've made somewhere along the line. Hard to say really.