Gubed PHP Debugger Forum Index Gubed PHP Debugger
Support forum for Gubed PHP Debugger
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

relative path

 
Post new topic   Reply to topic    Gubed PHP Debugger Forum Index -> Gubed and Quanta
View previous topic :: View next topic  
Author Message
mzahit29



Joined: 28 Jan 2009
Posts: 1

PostPosted: 2009-01-28, 2:05    Post subject: relative path Reply with quote

hi
I'am newbie using gubed. and my problem is with the require('relative path') when using relative paths. I can not debug like that it gives error saying

Gubed: Error occurred: Line 1137, Code 2 (file_get_contents(/media/disk/docs/My Web Pages/website/constants.php) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory) in /media/disk/docs/My Web Pages/website/includes/connection.php

where as "file_get_contents(/media/disk/docs/My Web Pages/website/constants.php)"
above should be "file_get_contents(/media/disk/docs/My Web Pages/website/includes/constants.php)" in the first place.

so it is looking for the wrong path if i give a relative path with require. but if i give an absolute path it works perfect. Is there a way to get around this or is there something wrong with configuration.

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Gubed PHP Debugger Forum Index -> Gubed and Quanta All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group