[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP module for Apache - FIXED FIXED FIXED!!



Chip Rose(ncrose@pinn.net) is reported to have said:
> On Sunday 27 October 2002 06:54 pm, Wayne Topa wrote:
> > Chip Rose(ncrose@pinn.net) is reported to have said:
> > > I'm in the same boat - the default configuration used when installing
> > > debs, doesn't work.
> >
> > Strong statement.  You must be new to Debian.  Debs work, some of them
> > just require a bit of user intelligence.

<<- snip old message ->>
> 
> Wayne,
> 
> Thanks so much for the help, and the rebuke for my poor attitude.  I've 
> finally gotten Apache/MySQL/PHP combination working, thanks to you.  This has 
> taken hours per night, for months and months - I messed with it through 
> Mandrake 6.0, Mandrake 8.0, and now Debian 3.0, and it still wouldn't work 
> (so I blamed Debian).  I apologize for sometimes taking a newbie viewpoint of 
> expecting it to work like *magic*, but I really have hacked away at it, and 
> read innumerable pages, and instructions on how to do it.  I do have user 
> intelligence, although I'm sure it wasn't apparent from my rant - if only you 
> knew the amount of time I spent labouring on this, and how little I 
> accomplished.  It was a combination of extreme effort and overwhelming 
> desire/need to get this one simple thing working correctly, coupled with an 
> persistent and utter lack of results, that had me frustrated beyond words.  
> Numerous posts on several lists yielded no clues, and my final (final?) post 
> was one from a semi-crazed frame of mind.

I understand your pain.  Next time put yourself in the shoes of the
developer who spends much more time that us, getting the package made
up in the first place. Think of 'their' frustration when posts like
that pop up.
> 
> I removed phpmyadmin, and things started working.  I'd hosed it up beyond 
> recognition.  You're absolutely right when you surmised that I had indeed 
> copied phpmyadmin install files directly into my /var/www/ directory, which 
> was A BAD THING to do, which was causing my library errors.  You're also 
> absolutely right in deducing that I had indeed installed phpmyadmin and had 
> left that out of my rant - I didn't think it was a factor, and *neglected* to 
> mention it (newbie alert!).
> 
> I have no idea how you came so easily to your conclusions, other than you are 
> psychic, or have been looking over my shoulder while seated at my terminal.   
> It is amazing.  

<<- Enable teach how to fish mode ->>

Not really.  You had all the clues I needed in your original post..
> > Fatal error: Failed opening required './libraries/grab_globals.lib.php'
> > (include_path='.:/usr/share/pear') in /var/www/index.php on line 8

I did a locate on 'grab_globals.lib.php' and saw it was in the
/usr/share/phpmyadmin dir.  Oh, he's running phpmyadmin.

I then did a locate for phpmyadmin files and saw there was an
index.php file listed so I looked at it.  Line 8 was just what your
error message was: require('./libraries/grab_globals.lib.php')
"Ah, he used the index.php file from /usr/share/phpmyadmin/"

I had installed phpmyadmin way before it was a debian package and had 
seen that error before.  The solution, back then, was different but
made your problem understandable. 

NOTE: It took me a few hours to get the OLD phgpmyadmin program
working as I recall, and everytime I upgraded it I had to mess with
something or other.  I was very pleased with the Debian package as it
installed without any hassle at all.

<<- Disable teach how to fish mode ->>

> I still maintain that I would never have gotten it working 
> had it not been for your help, and sharp rebuke in response to my whiney 
> post.  

Sure you would.  After the install of the package, and reading all of
the included docs, run it like I said in the last post and it's there.

> Nothin on the web even vaguely offered any insight as to the pickle 
> I'd gotten myself into, and it would've been forever before I'd even begin to 
> "get a clue."
Ah, coming from Mandrake/RedHat means a completly different mind set.
One of the joys of Debian is that the packages really do work,
especially when that are in the stable branch.  When they don't work
'out of the box', there is usually a tip 'somewhere' in the docs.

> 
> I've now installed DaDaBIK, <http://www.dadabik.org>, which is just what the 
> doctor ordered, to allow me to input and query MySQL via web interface.  The 
> program is extremely easy, the default settings are even great, and it is 
> what I've been looking for, for a LONG LONG LONG time.

I don't know that pgm.  I installed the phpmyadmin and mysql-navigator
packages and find both of them very useful.  I prefer the console to
X so I am writing my custom DB apps in python.

> Again, sorry to the List for my rant, and for this ridiculously long post - 
> my only excuse is that my tortured mind finally snapped from the extreme, 
> mind-bending frustration - if it pleases the list, I'll enter a plea of not 
> guilty, by reason of temporary insanity.

No sweat Chip.  Things could have been worse :-).  You got it fixed
and your still using Debian.  Keep plugging and reading debian-user.
It gets much better with time.

> Thanks Millions,

Your Welcome
Thats what debian-user is all about.

Cheers!

Wayne
-- 
Speed Kills! Use Windows 95.
_______________________________________________________



Reply to: