|
|
 |
 | Getting fatal errors after install, need some help |  |
Posted: Tue Feb 03, 2004 8:24 am |
|
|
| martinsg |
| Newbie |
|
 |
| Joined: 03 Feb 2004 |
| Posts: 4 |
| Location: Lathrop, Calif |
|
|
 |
 |
 |
|
Hello,
I am trying to get the randomizer to run on my site. I think I have something wrong in my config.php file, I am guessing it is with CONFIG->wwwroot.
The following is from my config.php:
| Code: |
$CONFIG->wwwroot = "http://www.mydomain.com";
//Site URL -please use the "http://www.mysite.com" format.
$CONFIG->siteurl = "http://www.mydomain.com";
//Edit below ONLY if you changed the current site structure
$CONFIG->templatedir = "$CONFIG->wwwroot/templates";
$CONFIG->libdir = "$CONFIG->wwwroot/lib";
$CONFIG->imagedir = "$CONFIG->wwwroot/rimages"; |
The following is all of the host configuation info I could find easily:
More settings:
Document Root (the absolute path to your web): $ENV{'DOCUMENT_ROOT'} (Perl) or $DOCUMENT_ROOT (PHP)
File extension for Perl scripts: .pl
File extension for PHP scripts: .php3 / .php4
File extension for Python scripts: .py
Perl 5.6.1: /usr/bin/perl
Python 2.2.1: /usr/bin/python
sendmail: /usr/sbin/sendmail
MySql 4.0.14
When I try to run http://www.subdomain.mydomain.com/radmin/database_load.php?filename=ipocountry.sql.gz I get the following error messages:
Fatal error: Call to undefined function: db_fetch_array() in /homepages/45/d94221791/htdocs/subdomain/lib/general.php on line 37
Fatal error: Call to undefined function: require_login_admin() in /homepages/45/d94221791/htdocs/subdomain/radmin/database_load.php on line 3
When I try to run http://www.subdomain.mydomain.com/radmin/index.php
I get the following:
Fatal error: Call to undefined function: db_fetch_array() in /homepages/45/d94221791/htdocs/subdomain/lib/general.php on line 37
- a banner gets displayed here
Fatal error: Call to undefined function: match_referer() in /homepages/45/d94221791/htdocs/subdomain/radmin/index.php on line 56
And when I try to run http://www.subdomain.mydomain.com/ I get the following:
Fatal error: Call to undefined function: db_fetch_array() in /homepages/45/d94221791/htdocs/subdomain/lib/general.php on line 37
-a banner displayed here
Fatal error: Call to undefined function: iptocountry() in /homepages/45/d94221791/htdocs/subdomain/index.php on line 6
Can somebody please point me in the right direction?
Thanks,
Martins |
|
|
|
|
 | |  |
Posted: Tue Feb 03, 2004 9:23 pm |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
Hi Martins,
The wwwroot has to be the path to your program not a url. From the error reports that you listed I would guess the the path to your site is:
/homepages/45/d94221791/htdocs/
or
/homepages/45/d94221791/htdocs/subdomain
it depends on how your server is configured and whether your site is in the subdomain folder but I would guess the second one. But one of these should get you up and running
Shadow |
|
|
|
|
 | thanks! |  |
Posted: Tue Feb 03, 2004 11:22 pm |
|
|
| martinsg |
| Newbie |
|
 |
| Joined: 03 Feb 2004 |
| Posts: 4 |
| Location: Lathrop, Calif |
|
|
 |
 |
 |
|
Thanks,
That did it! I greatly appreciate your help!
Martins |
|
|
|
|
Posted: Wed Feb 04, 2004 12:21 am |
|
|
| shadow |
| Addict |
|
 |
| Joined: 16 Oct 2003 |
| Posts: 171 |
| Location: Virgin Islands |
|
|
 |
 |
 |
|
No Problem!  |
|
|
|
|
|
|