[solved]default.inc.php
[solved]default.inc.php
Got this error after a server transfer to a new host. Can you help?
Warning: require(/usr/local/apache/htdocs/include/inc_ext/Openads/Openads_function.php) [function.require]: failed to open stream: No such file or directory in /home/printori/public_html/include/inc_lib/default.inc.php on line 66
Fatal error: require() [function.require]: Failed opening required '/usr/local/apache/htdocs/include/inc_ext/Openads/Openads_function.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/printori/public_html/include/inc_lib/default.inc.php on line 66
Warning: require(/usr/local/apache/htdocs/include/inc_ext/Openads/Openads_function.php) [function.require]: failed to open stream: No such file or directory in /home/printori/public_html/include/inc_lib/default.inc.php on line 66
Fatal error: require() [function.require]: Failed opening required '/usr/local/apache/htdocs/include/inc_ext/Openads/Openads_function.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/printori/public_html/include/inc_lib/default.inc.php on line 66
v. 1.3.3
Server: Linux 2.6.18
Local: OS 10.4.9
Browser: Safari 2.0.0.6
Server: Linux 2.6.18
Local: OS 10.4.9
Browser: Safari 2.0.0.6
My host told me that the root path is:
/home/printori/public_html/
I replaced the orig DOC_ROOT path in the config file and still didn't work. Am i missing something?
By the way, i also reset the rights... Any help?
/home/printori/public_html/
I replaced the orig DOC_ROOT path in the config file and still didn't work. Am i missing something?
By the way, i also reset the rights... Any help?
Last edited by zeta1600 on Thu 20. Sep 2007, 06:36, edited 1 time in total.
v. 1.3.3
Server: Linux 2.6.18
Local: OS 10.4.9
Browser: Safari 2.0.0.6
Server: Linux 2.6.18
Local: OS 10.4.9
Browser: Safari 2.0.0.6
The error may just be happening in the new temporary address. It may have been just a propagation issue. I did a ping on the site and seems to be going to the right server and views OK when you go to (removed).com.
Thanks for responding.
Thanks for responding.
Last edited by zeta1600 on Thu 15. Jul 2010, 03:49, edited 1 time in total.
v. 1.3.3
Server: Linux 2.6.18
Local: OS 10.4.9
Browser: Safari 2.0.0.6
Server: Linux 2.6.18
Local: OS 10.4.9
Browser: Safari 2.0.0.6
I have the same error as posted in the beggining.
My server is the university and has two dots in the name : http://www.isa.utl.pt
My personal home page should be in http://home.isa.utl.pt/~joaopalma
and my root folder is 'public_html'
are there any problems with having more than one dot and having '~' in the url?
what would be the settings of
$phpwcms['site']
$phpwcms['root']
?
I tried several combinations and not successful... I hope there isn't a problem with the ~ otherwise I can not use it...
Best whishes
My server is the university and has two dots in the name : http://www.isa.utl.pt
My personal home page should be in http://home.isa.utl.pt/~joaopalma
and my root folder is 'public_html'
are there any problems with having more than one dot and having '~' in the url?
what would be the settings of
$phpwcms['site']
$phpwcms['root']
?
I tried several combinations and not successful... I hope there isn't a problem with the ~ otherwise I can not use it...
Best whishes
Most Likely ~something~ like this:
OR THIS:
Code: Select all
// site values
$phpwcms['site'] = 'http://www.isa.utl.pt/~joaopalma/';
// paths
$phpwcms['DOC_ROOT'] = '/home/printori/public_html';
$phpwcms['root'] = '';
Code: Select all
// site values
$phpwcms['site'] = 'http://home.isa.utl.pt/~joaopalma/';
// paths
$phpwcms['DOC_ROOT'] = '/home/printori/public_html';
$phpwcms['root'] = '';
Post the error(s) so folks can see the "reported" paths.joaopalma wrote:Hi Dexxus,
Tryed both... still not working...
Update: NEVERMIND
TRY THISWarning: main(/home/printori/public_html/include/inc_ext/Openads/Openads_function.php): failed to open stream: No such file or directory in /var/autofs/public_html/isa/joaopalma/public_html/include/inc_lib/default.inc.php on line 66
Fatal error: main(): Failed opening required '/home/printori/public_html/include/inc_ext/Openads/Openads_function.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/autofs/public_html/isa/joaopalma/public_html/include/inc_lib/default.inc.php on line 66
Code: Select all
// site values
$phpwcms['site'] = 'http://www.isa.utl.pt/~joaopalma/';
// paths
$phpwcms['DOC_ROOT'] = '/var/autofs/public_html/isa/joaopalma/public_html';
$phpwcms['root'] = '';
Code: Select all
// site values
$phpwcms['site'] = 'http://home.isa.utl.pt/~joaopalma/';
// paths
$phpwcms['DOC_ROOT'] = '/var/autofs/public_html/isa/joaopalma/public_html';
$phpwcms['root'] = '';