Fatal error: Class html_table: Cannot inherit from undefined class html_common in /var/www/localhost/htdocs/script/includes/Table.php on line 33
When I try to go to the webpage for the first time.. Any help would be apprecated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-01-08
That sounds like a PEAR dependency problem.
Scriptorium provides Table.php, which is part of PEAR, because it relies heavily on it. But Table.php in turn relies on some other parts of PEAR, which are not included with the download.
If you're in control of the machine you're installing on, search for html_common on pear.php.net and install it with the other pear files (or, if you don't have PEAR, install it). If not, you'll have to put the html_common files in scriptorium's includes folder and possible modify some include paths so all the files can find one another.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, this error showed the first time yesterday after 2/3 months running scriptorium without any problem. I would like to correct the installation and - if possible - install PEAR complet also. But, there is so many PEAR applications that i don't know where to begin! Is there an rpm package anywhere or a complet tar.gz to install?
PS: i have many snipets of code already uploaded to this server... Please consider to answer ASAP, ok?
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had installed pear with their go-pear.php script, and i'm still having these error messages:
Warning: main(HTML/Common.php): failed to open stream: No such file or directory in /var/www/html/scriptorium/includes/Table.php on line 23
Fatal error: main(): Failed opening required 'HTML/Common.php' (include_path='.:/php/includes:/usr/share/pear:/usr/share/pear/PEAR:/usr/local/lib/php:/usr/local/lib/php/Smarty') in /var/www/html/scriptorium/includes/Table.php on line 23
You can see all the includes inside the error returned. Pear is installed at /usr/share/pear and it's exec is in /usr/bin/pear.
I hope there is an error in my include directive, because i didn't understand how it can be installed locally (ok, i'm not a php coder neither an idiot, and i have total control of this server).
Thank you,
RSalles
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I seem to get
Fatal error: Class html_table: Cannot inherit from undefined class html_common in /var/www/localhost/htdocs/script/includes/Table.php on line 33
When I try to go to the webpage for the first time.. Any help would be apprecated.
That sounds like a PEAR dependency problem.
Scriptorium provides Table.php, which is part of PEAR, because it relies heavily on it. But Table.php in turn relies on some other parts of PEAR, which are not included with the download.
If you're in control of the machine you're installing on, search for html_common on pear.php.net and install it with the other pear files (or, if you don't have PEAR, install it). If not, you'll have to put the html_common files in scriptorium's includes folder and possible modify some include paths so all the files can find one another.
Well, this error showed the first time yesterday after 2/3 months running scriptorium without any problem. I would like to correct the installation and - if possible - install PEAR complet also. But, there is so many PEAR applications that i don't know where to begin! Is there an rpm package anywhere or a complet tar.gz to install?
PS: i have many snipets of code already uploaded to this server... Please consider to answer ASAP, ok?
Thank you.
I had installed pear with their go-pear.php script, and i'm still having these error messages:
Warning: main(HTML/Common.php): failed to open stream: No such file or directory in /var/www/html/scriptorium/includes/Table.php on line 23
Fatal error: main(): Failed opening required 'HTML/Common.php' (include_path='.:/php/includes:/usr/share/pear:/usr/share/pear/PEAR:/usr/local/lib/php:/usr/local/lib/php/Smarty') in /var/www/html/scriptorium/includes/Table.php on line 23
You can see all the includes inside the error returned. Pear is installed at /usr/share/pear and it's exec is in /usr/bin/pear.
I hope there is an error in my include directive, because i didn't understand how it can be installed locally (ok, i'm not a php coder neither an idiot, and i have total control of this server).
Thank you,
RSalles
Thanks for the help guys Got it up and running