Previous Thread
Next Thread
Print Thread
Hop To
#40526 05/14/2004 10:25 AM
Joined: Apr 2004
Posts: 28
D
newbie
newbie
D Offline
Joined: Apr 2004
Posts: 28
When a user sets there diplay options to show threaded then clicks on a thread in our forum they get the following error.

Warning: main(): open_basedir restriction in effect. File(../../../QuickReply3.1.1/orig%20files/main.inc.php) is not within the allowed path(s): (D:\wwwroot) in D:\wwwroot\www_fishingwarehouse_co_uk\ubbthreads\showthreaded.php on line 23

Warning: main(../../../QuickReply3.1.1/orig%20files/main.inc.php): failed to open stream: Operation not permitted in D:\wwwroot\www_fishingwarehouse_co_uk\ubbthreads\showthreaded.php on line 23

Fatal error: main(): Failed opening required '../../../QuickReply3.1.1/orig%20files/main.inc.php' (include_path='.;c:\php4\pear') in D:\wwwroot\www_fishingwarehouse_co_uk\ubbthreads\showthreaded.php on line 23

Were using ubbt 6.2.3
the showthreaded.php file can be viewed here.

Many thanks in advance for your help
Rob

#40527 05/14/2004 10:11 PM
Joined: Dec 2003
Posts: 11
K
stranger
stranger
K Offline
Joined: Dec 2003
Posts: 11
Have you edited the showthreaded file? You shouldnt have those paths in there...,

If you have it, upload the original copy of the showthreaded file from the zip and overwrite this one.

Otherwise, replace:

Code
// Require the library
   require ("../../../QuickReply3.1.1/orig%20files/main.inc.php");
   require ("languages/${$config['cookieprefix']."w3t_language"}/showthreaded.php");
   require ("../../../QuickReply3.1.1/orig%20files/imagesizes.php");  

with:

Code
 // Require the library
   require ("main.inc.php");
   require ("languages/${$config['cookieprefix']."w3t_language"}/showthreaded.php");
   require ("imagesizes.php");
 


Kristi Horn
Customer Advocate
Infopop Corporation
#40528 05/15/2004 5:34 PM
Joined: Apr 2004
Posts: 28
D
newbie
newbie
D Offline
Joined: Apr 2004
Posts: 28
That worked a treat thanks a lot <img src="https://www.ubbcentral.com/boards/images/graemlins/grin.gif" alt="" />

There was also a problem on line 1000 and something but it was along the same lines (a path problem). I'm not sure why the files was like that, Its not a forum I installed I've just recently been made an admin so I'm just learning how it all works and trying to iron out all the problems.

Thanks again for the help.
Rob


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
Who's Online Now
0 members (), 1,144 guests, and 193 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)