LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 04-06-2008, 12:47 AM   #1
tweakmyknob
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
Gentoo & PHP Problems


Hello

Been having some troubles with my gentoo server. I'm using Joomla CMS and i'm experiencing a few problems that are related to the PHP configuration. I've been hunting for days to try and find an appropriate solution, and you guys and gals are my last resort.

The two errors I've been getting are as follows:

Quote:
Fatal error: Class 'DomDocument' not found in /var/www/domain.name/components/com_flashitool/flashitool.html.php on line 93
-and-

Quote:

Warning: require_once(/var/www/domain.name) [function.require-once]: failed to open stream: No such file or directory in /var/www/domain.name/components/com_docman/includes_frontend/upload.php on line 69

Fatal error: require_once() [function.require]: Failed opening required '/var/www/domain.name' (include_path='.:/usr/share/php5') in /var/www/domain.name/components/com_docman/includes_frontend/upload.php on line 69
From what I've read through googling, installing a package 'php-xml' fixes this issue in other distros... I can't seem to find that package related to gentoo though.

I've tried re emerging php5 with the following USE commands in my package.use:

Quote:
dev-lang/php cli apache2 ctype expat fastbuild ftp gd hash iconv memlimit mysql nls pcre pic pdo reflection session simplexml sockets spl ssl tokenizer truetype unicode xml xsl zlib

In hopes that it would recompile with the necessary XML support but still I get the same error.

My PHP.ini has a quite large file set for max upload size, and i've set:

Quote:
include_path = ".:/usr/share/php5"
I'm ripping my hair out at this point... hopefully somebody can help?

-Tweak

Last edited by tweakmyknob; 04-06-2008 at 12:52 AM.
 
Old 04-06-2008, 07:11 AM   #2
Lord Matt
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
Forgive me if I've missed things totally but they look like script errors. Okay so the first one looks like it might be someting not supproted that was a requirement but the second one is looking for a file "domain.name" and not finding it. That's a mighty odd file name and while it might be perfectly good it could also be a "settings"/"config"/"whatever" predefined value gone wrong.

Open up flashitool.html.php and have a look around the indicated line number the "code" there will be the biggest clue as to what is going wrong. I would then go on to stick things from that line onto Google and find out if they are core or part of an extension to php/apache/something.

Looking a bit harder at the following errors I would bet reasonable money that solving the source of the first error will solve the others.

Posting some code from the script with line numbers would allow others to do exactly what I have described and then take credit for knowing but if you get "stuck" try it anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP & GD install problems Beauford-2 Linux - Software 1 06-20-2006 04:18 PM
MySQL & pgSQL problems w/ PHP dolvmin Linux - Software 2 10-28-2005 10:36 PM
Problems installing MySql & PHP from rpms? Nelsond Fedora 3 08-12-2005 11:09 AM
problems installing MySQL & PHP on FC4 alpineedge3 Linux - Newbie 9 07-23-2005 05:00 PM
problems with the apache & Php server of mandrake linux 9.1 krotaz Linux - Networking 6 11-21-2003 08:24 PM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration