You don't have permission to access /Web2.0/< on this server.
Posted by: nerotic (---.pool85-49-32.dynamic.orange.es)
Date: February 27, 2010 12:10AM

Hi everyone,

I was reading the board trying to understand where this error comes from and one post made a remark about the DB.perhaps being the problem.

Issue is that I'm not using any DB for my project nor are there any calls. I have the site working live at an ISP and I have 3 external testing servers where everything works.

I also have been using QuickPHP [www.zachsaw.co.cc] until now to test my PHP sites and the site works perfectly there.


The site is PHP with some simple includes going on and has jQuery Tools implemented. So the issue has something to do with the default config of Wampserver, I just don't have a clue as to what it could be.


My only clue is this: [Fri Feb 26 22:39:49 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\Web2.0\\learn.php on line 227, referer: [localhost]

I don't know much about Apache but is it normal that I should have 2 backslashes between directories?


In addition, no matter what I do I can't unset /www/ and subdirectories from being read-only.


Also: I get this error even though the file is there and displays on the site.
[Fri Feb 26 22:44:41 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico, referer: [localhost]



There's one additional piece of info that I can give that might be of assistance.

I'm using php to define a variable at the top of each include page as such:

<?php $dots = 11; ?>

Later I echo that to define how many dots to display in a slideshow navigation scheme from jQueryTools. And I get this error:
Notice: Undefined variable: dots in C:\wamp\www\Web2.0\listen.php on line 182

So...in summary...this works on 4 completely unrelated servers and with QuickPHP so for once I can say it isn't my code.

Are there any links to articles on how to fix Wampserver's configuration?

Thanks.

Options: ReplyQuote
Re: You don't have permission to access /Web2.0/< on this server.
Posted by: yfastud (Moderator)
Date: February 27, 2010 04:53AM

Open file php.ini through wamp tray icon

Find
error_reporting = E_ALL

Replace w/
error_reporting = E_ALL & ~E_NOTICE

Then save file and restart wamp

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: You don't have permission to access /Web2.0/< on this server.
Posted by: nerotic (---.pool85-49-32.dynamic.orange.es)
Date: February 27, 2010 05:05AM

yfastud Wrote:
-------------------------------------------------------
> Open file php.ini through wamp tray icon
>
> Find
> error_reporting = E_ALL
>
> Replace w/
> error_reporting = E_ALL & ~E_NOTICE
>
> Then save file and restart wamp



Thanks for getting back to me.

This turned off the errors, but the pages still aren't working. Any other ideas?

I turned error reporting on again. My question remains the same (I think). Why does this work on 4 other servers as well as QuickPHP but not on Wamp sad smiley


[Sat Feb 27 05:02:09 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sat Feb 27 05:02:09 2010] [notice] Child 4300: Exit event signaled. Child process is ending.
[Sat Feb 27 05:02:10 2010] [notice] Child 4300: Released the start mutex
[Sat Feb 27 05:02:11 2010] [notice] Child 4300: All worker threads have exited.
[Sat Feb 27 05:02:11 2010] [notice] Child 4300: Child process is exiting
[Sat Feb 27 05:02:11 2010] [notice] Parent: Child process exited successfully.
[Sat Feb 27 05:02:15 2010] [notice] Apache/2.2.11 (Win32) PHP/5.3.0 configured -- resuming normal operations
[Sat Feb 27 05:02:15 2010] [notice] Server built: Dec 10 2008 00:10:06
[Sat Feb 27 05:02:15 2010] [notice] Parent: Created child process 3468
[Sat Feb 27 05:02:16 2010] [notice] Child 3468: Child process is running
[Sat Feb 27 05:02:16 2010] [notice] Child 3468: Acquired the start mutex.
[Sat Feb 27 05:02:16 2010] [notice] Child 3468: Starting 64 worker threads.
[Sat Feb 27 05:02:16 2010] [notice] Child 3468: Starting thread to listen on port 80.
[Sat Feb 27 05:02:24 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\learn.php on line 227, referer: [localhost]
[Sat Feb 27 05:02:24 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\learn.php on line 229, referer: [localhost]
[Sat Feb 27 05:02:24 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\learn.php on line 243, referer: [localhost]
[Sat Feb 27 05:02:28 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\look.php on line 270, referer: [localhost]
[Sat Feb 27 05:02:28 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\look.php on line 272, referer: [localhost]
[Sat Feb 27 05:02:28 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\look.php on line 286, referer: [localhost]
[Sat Feb 27 05:02:29 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\listen.php on line 182, referer: [localhost]
[Sat Feb 27 05:02:29 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\listen.php on line 184, referer: [localhost]
[Sat Feb 27 05:02:29 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\listen.php on line 198, referer: [localhost]
[Sat Feb 27 05:02:31 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\learn.php on line 227, referer: [localhost]
[Sat Feb 27 05:02:31 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\learn.php on line 229, referer: [localhost]
[Sat Feb 27 05:02:31 2010] [error] [client 127.0.0.1] PHP Notice: Undefined variable: dots in C:\\wamp\\www\\web2\\learn.php on line 243, referer: [localhost]

Options: ReplyQuote
Re: You don't have permission to access /Web2.0/< on this server.
Posted by: yfastud (Moderator)
Date: February 27, 2010 04:24PM

it's notice, not error and you should define your variables just as it stated

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: You don't have permission to access /Web2.0/< on this server.
Posted by: imtiaz (89.144.67.---)
Date: January 22, 2011 02:39PM

Please help me too with these error

[error] [client 127.0.0.1] PHP Stack trace:, referer: [localhost]
[error] [client 127.0.0.1] PHP 1. {main}() C:\\wamp\\www\\newworld\\holiday-holiday.php:0, referer: [localhost]
[error] [client 127.0.0.1] PHP 2. include() C:\\wamp\\www\\newworld\\holiday-holiday.php:43, referer: [localhost]

cheers

Options: ReplyQuote
Re: You don't have permission to access /Web2.0/< on this server.
Posted by: yfastud (Moderator)
Date: January 23, 2011 01:45AM

The error relates to the script in folder newworld and you have to check to find out what causes it, might be mod-rewrite from .htaccess file

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides



Edited 1 time(s). Last edit at 01/23/2011 01:48AM by yfastud.

Options: ReplyQuote


Sorry, only registered users may post in this forum.