Re: Fatal error, but include_path seems correct?
| From: | toby z | Date: | Sat, 15 Nov 2003 07:30:02 +0000 |
| Subject: | Re: Fatal error, but include_path seems correct? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-22101@lists.php.net to get a copy of this message | ||
hay rod
im sorry im lost .....
from what i understand .....
u want to point ur url to www.myserver.com/phpMyAdmin254
:S
mmmm
well ..... u can give the ip instead of localhost or
www.myserver.com/phpMyAdmin254
like
$cfgPmaAbsoluteUri = 'xxx.yyy.z.a';
or even with a port as i do since im runnin both iis n apache on ma
machine ->
$cfgPmaAbsoluteUri = 'xxx.yyy.z.a:8095/myadmin/';
or even ur machine name ->
$cfgPmaAbsoluteUri = 'http://shagg:8095/myadmin/';
im sorry if i havent answerd ur question ..... :$
ping me again if yes .....
toby
--- Roderick Martin <rmartin@mail.state.il.us> wrote: > Toby,
>
> Maybe this is something.
>
> $cfg['PmaAbsoluteUri'] is set to
> "http://www.myserver.com/phpMyAdmin254" (of course,
> myserver being
> my
> real server)
> $cfg['Servers'][$i]['host'] = 'localhost';
>
> Both of these were set this way already (before your suggestion).
>
> Now, mysql runs locally in a console with its setting pointing to
> "localhost". Might the problem be that PmaAbsoluteUri is not set to
> the
> "localhost" equivalent, but the "external" URL?
>
> If so, how do I figure out where "http://localhost/"
> points to so I
> can
> complete the path? I tried entering
> "http://localhost/" in IE on
> the
> source computer, but I got an error.
>
> thanks!!!
>
> On Nov 13, 2003, at 11:54 PM, toby z wrote:
>
> > hay rod
> >
> > locate $cfgPmaAbsoluteUri in ur phpmyadmin config.inc file
> > and put the path by which ur trying to access myadmin ..... like
> >
> > 'http://localhost/myadmin/';
> >
> > then
> > $cfgServers[$i]['host'] = 'localhost';
> >
> > and 3rd .... u need-not include path to myadmin in ur
> include_path in
> > php.ini :)
> >
> > good luck
> >
> > toby
> >
> > configurtion is a rather hair-tearing and mind-repairing process
> ....
> > bare with it :)
> >
> > --- Roderick Martin <rmartin@mail.state.il.us> wrote: > Tried
> it.
> > Same error message...
> >>
> >> Fatal error: Failed opening required
> >> './libraries/grab_globals.lib.php'
> >> (include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D:
> >> \Netscape\SuiteSpot\docs\phpMyAdmin254')
> >> ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9
> >>
> >> On Nov 13, 2003, at 10:15 AM, Eric COLINET wrote:
> >>
> >>> Try :
> >>> D: \Netscape\SuiteSpot\docs\phpMyAdmin254
> >>> Instead of :
> >>> D: \Netscape\SuiteSpot\docs\phpMyAdmin254\libraries
> >>> for your include path.
> >>>
> >>> Eric
> >>>
> >>> At 16:34 13/11/2003, Roderick Martin wrote:
> >>>> My setup:
> >>>> PHP 4.0.6
> >>>> Windows NT 4.0
> >>>> Netscape-Enterprise/3.6 SP3
> >>>>
> >>>> Installed phpMyAdmin to the root of the server, which is
> >>>> d:/Netscape/SuiteSpot/docs/phpMyAdmin254/
> >>>>
> >>>> I get the error: Fatal error: Failed opening required
> >>>> './libraries/grab_globals.lib.php'
> >>>> (include_path='.;c:\php4\pear;D:\Netscape\SuiteSpot\docs;D:
> >>>> \Netscape\SuiteSpot\docs\phpMyAdmin254\libraries')
> >>>> ind:/Netscape/SuiteSpot/docs/phpMyAdmin254/index.php on line 9
> >>>>
> >>>> As you can see, I've added the path to phpMyAdmin in my
> >> include_path,
> >>>> but it still errors out.
> >>>>
> >>>> Yes, there is a /libraries folder containing
> >> grab_globals.lib.php.
> >>>>
> >>>> Any suggestions?
> >>>
> >>> --
> >>> PHP Windows Mailing List (http://www.php.net/)
> >>> To unsubscribe, visit:
> >>> http://www.php.net/unsub.php
> >>>
> >>>
> >>
> >
> >
>
_______________________________________________________________________
>
> > _
> > Want to chat instantly with your online friends? Get the FREE
> Yahoo!
> > Messenger http://mail.messenger.yahoo.co.uk
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
________________________________________________________________________
Want to chat instantly with your online friends? Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk