PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
MDB2::include_once(MDB2/Datatype.php)
Goto page Previous  1, 2
 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Database
View previous topic :: View next topic  
Author Message
Mdravnieks



Joined: 05 Nov 2007
Posts: 1

PostPosted: Mon Nov 05, 2007 1:53 pm    Post subject: Reply with quote

I know this topic is old now, but for anyone who comes across this thread looking for an answer- the problem is probably not with the PEAR package itself, but with your include.

To access PEAR correctly you'll need to put this in whatever file you use to point to PEAR (config.php etc.)

Try this:

Code:
ini_set(
  'include_path',
  ini_get( 'include_path' ) . PATH_SEPARATOR . "/home/sites/yoursite/pathto/yourpear/directory"
);


Remember the path needs to be from your site root to wherever your PEAR directory is located.
Back to top
View user's profile Send private message
ready2rumble



Joined: 05 Feb 2007
Posts: 7

PostPosted: Thu Nov 08, 2007 1:31 pm    Post subject: Reply with quote

I remember this issue took me hours to figure it out your solution rocks though.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Database All times are GMT + 2 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement

'Actiemonitor' online projectmanagement software