
![]() |
![]() |
![]() |
|
|||||||
![]() |
![]() |
|
Welcome to Talk Arcades, the premier forum for arcade webmasters. You are currently viewing our boards as a guest. By joining our community you will be able to make posts, communicate privately with other arcade webmasters and participate in our Live Marketplace. Registration is easy, so please join us today! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Preferred Member
Join Date: May 2008
Posts: 112
|
So my ajax shoutbox came up with this error
Warning: include() [function.include]: URL file-access is disabled in the server configuration Along with some other errors, I googled it but did not find results i could comprehend. Basically i have PHP Code:
PHP Code:
Well if i changed it to PHP Code:
Anyone had this problem before? Anyone know how to fix it? Thanks. |
|
|
|
![]() |
![]() |
|
|
#2 (permalink) |
|
Gamer FX Staff
Senior Member
Join Date: Oct 2006
Posts: 674
|
First question that comes to mind is did you have it
Code:
or was it Code:
If it really is configured in such a way, you might want to contact your host company and see if they would turn it on. Include() is such a handy function to have, I would really hate to do without it myself. You could try to figure out how to pass variables to it as well if nothing else works. Edited in: Worst case senario, you could always code it right into the template/file calling it.
__________________
http://gamersgo.com A list of arcade related sites, add yours. http://auntiefondy.com Lists, add your site. http://kbsplace.com |
|
|
|
![]() |
![]() |
|
|
#3 (permalink) |
|
Preferred Member
Join Date: May 2008
Posts: 112
|
sorry it was
PHP Code:
Then whenever you would go to a web page in a different directory the shoutbox wouldnt work because shoutbox.php is not in playit25.com/games it is in playit25.com/. it was working for a few days... it then it just suddenly popped up with the error msg... EDIT: Yeah i could code it into the file calling it, but my question is... why was it working before? and then randomly decided to pop up with an error? |
|
|
|
![]() |
![]() |
|
|
#4 (permalink) |
|
Preferred Member
Join Date: May 2008
Posts: 112
|
FIX: I thought that I needed to put the URL everywhere to locate the files... however i only needed to do that in the javascript file. So the original file 'index' is always going to be in the same directory as shoutbox.php. so i changed it back to
PHP Code:
What i learned? : http urls inside of the include function produce errors. LOL. |
|
|
|
![]() |
![]() |