Re: [users] Smarty Error: No such file or directory...

2006-01-25 Thread Bob Hutchinson
On Wednesday 25 Jan 2006 17:47, [EMAIL PROTECTED] wrote:
 Hello!

 I have successfully installed tinydns on Suse 10.0 with and tried this with
 PHP5  and PHP4.  After installing VegaDNS, I unfortunately continue to get
 these types of errors when I click on the various links.  I had this
 working perfectly on Suse 9.0 before.  I followed the setup from
 djbdnsrocks.org to perform my installation.  Also tried VegaDNS
 installation.

 I also tried to hardcode the smartydir variables.  This worked to get some
 links available but there were other errors that resulted.  Are there some
 settings I'm overlooking in PHP/SuSE/VegaDNS that can solve this problem?

I'm not sure if this is it, but
in your php.ini
include_path = .:/usr/share/php

the '.'  will make it look in the current directory first


 Thanks a million!

 Errors below:


 **clicking on Domain *
 Warning: main(smarty/internals/core.load_plugins.php): failed to open
 stream: No such file or directory in
 /srv/www/htdocs/vegadns_private/templates_c/%%7F^7F3^7F38CFF1%%list_domains
.tpl.php on line 3

 Fatal error: main(): Failed opening required
 'smarty/internals/core.load_plugins.php' (include_path='/usr/share/php') in
 /srv/www/htdocs/vegadns_private/templates_c/%%7F^7F3^7F38CFF1%%list_domains
.tpl.php on line 3


 **clicking on New Domain *
 Warning: main(src/new_domain_form.php): failed to open stream: No such file
 or directory in /srv/www/htdocs/vegadns/src/domains.php on line 207

 Fatal error: main(): Failed opening required 'src/new_domain_form.php'
 (include_path='/usr/share/php') in /srv/www/htdocs/vegadns/src/domains.php
 on line 207


 **clicking on Edit my Account *

 Warning: main(src/account_form.php): failed to open stream: No such file or
 directory in /srv/www/htdocs/vegadns/src/users.php on line 49

 Fatal error: main(): Failed opening required 'src/account_form.php'
 (include_path='/usr/share/php') in /srv/www/htdocs/vegadns/src/users.php on
 line 49

 **clicking on DNS Query *

 Warning: _compile_source(smarty/Smarty_Compiler.class.php): failed to open
 stream: No such file or directory in
 /srv/www/htdocs/vegadns/smarty/Smarty.class.php on line 1453

 Fatal error: _compile_source(): Failed opening required
 'smarty/Smarty_Compiler.class.php' (include_path='/usr/share/php') in
 /srv/www/htdocs/vegadns/smarty/Smarty.class.php on line 1453

-- 
-
Bob Hutchinson
Midwales dot com
-


Re: Re: Re: [users] Smarty Error: No such file or directory...

2006-01-25 Thread gibson2
Bob, 
Unfortuantely I won't be able to try for the next 4 hours or so.  I will try 
and post a response later this evening.  

Thanks,
Quince.

From:  [EMAIL PROTECTED]
Date: Wed Jan 25 12:50:22 CST 2006
To: Bob Hutchinson [EMAIL PROTECTED], users@vegadns.org
Subject: Re: Re: [users] Smarty Error: No such file or directory...


From: Bob Hutchinson [EMAIL PROTECTED]
Date: Wed Jan 25 12:50:22 CST 2006
To: users@vegadns.org
Subject: Re: [users] Smarty Error: No such file or directory...

On Wednesday 25 Jan 2006 17:47, [EMAIL PROTECTED] wrote:
 Hello!

 I have successfully installed tinydns on Suse 10.0 with and tried this with
 PHP5  and PHP4.  After installing VegaDNS, I unfortunately continue to get
 these types of errors when I click on the various links.  I had this
 working perfectly on Suse 9.0 before.  I followed the setup from
 djbdnsrocks.org to perform my installation.  Also tried VegaDNS
 installation.

 I also tried to hardcode the smartydir variables.  This worked to get some
 links available but there were other errors that resulted.  Are there some
 settings I'm overlooking in PHP/SuSE/VegaDNS that can solve this problem?

I'm not sure if this is it, but
in your php.ini
include_path = .:/usr/share/php

the '.'  will make it look in the current directory first


 Thanks a million!

 Errors below:


 **clicking on Domain *
 Warning: main(smarty/internals/core.load_plugins.php): failed to open
 stream: No such file or directory in
 /srv/www/htdocs/vegadns_private/templates_c/%%7F^7F3^7F38CFF1%%list_domains
.tpl.php on line 3

 Fatal error: main(): Failed opening required
 'smarty/internals/core.load_plugins.php' (include_path='/usr/share/php') in
 /srv/www/htdocs/vegadns_private/templates_c/%%7F^7F3^7F38CFF1%%list_domains
.tpl.php on line 3


 **clicking on New Domain *
 Warning: main(src/new_domain_form.php): failed to open stream: No such file
 or directory in /srv/www/htdocs/vegadns/src/domains.php on line 207

 Fatal error: main(): Failed opening required 'src/new_domain_form.php'
 (include_path='/usr/share/php') in /srv/www/htdocs/vegadns/src/domains.php
 on line 207


 **clicking on Edit my Account *

 Warning: main(src/account_form.php): failed to open stream: No such file or
 directory in /srv/www/htdocs/vegadns/src/users.php on line 49

 Fatal error: main(): Failed opening required 'src/account_form.php'
 (include_path='/usr/share/php') in /srv/www/htdocs/vegadns/src/users.php on
 line 49

 **clicking on DNS Query *

 Warning: _compile_source(smarty/Smarty_Compiler.class.php): failed to open
 stream: No such file or directory in
 /srv/www/htdocs/vegadns/smarty/Smarty.class.php on line 1453

 Fatal error: _compile_source(): Failed opening required
 'smarty/Smarty_Compiler.class.php' (include_path='/usr/share/php') in
 /srv/www/htdocs/vegadns/smarty/Smarty.class.php on line 1453

-- 
-
Bob Hutchinson
Midwales dot com
-



Re: Re: [users] Smarty Error: No such file or directory...

2006-01-25 Thread gibson2
[EMAIL PROTECTED] wrote:
 Hello!
 
 I have successfully installed tinydns on Suse 10.0 with and tried
 this with PHP5  and PHP4.  After installing VegaDNS, I unfortunately
 continue to get these types of errors when I click on the various
 links.  I had this working perfectly on Suse 9.0 before.  I followed
 the setup from djbdnsrocks.org to perform my installation.  Also
 tried VegaDNS installation.

Is /srv/www/htdocs/vegadns_private/templates_c/ writable by the web 
server?  Does that file exist?

Bill, I performed a 'chown -R wwwrun:www /srv/www/htdocs/vegadns_private' to 
make sure it was writable by Apache.  I don't have access to the server now but 
I will check if it exists later this evening.


 I also tried to hardcode the smartydir variables.  This worked to get
 some links available but there were other errors that resulted.  Are
 there some settings I'm overlooking in PHP/SuSE/VegaDNS that can
 solve this problem?

Since the errors reference full paths, I don't think it's a path 
problem, more likely a permissions problem or apache restriction.  Is 
/src/www/htdocs/vegadns_private within apache's ServerRoot?


Yes, this directory is within apache's ServerRoot
Apache's server root is '/src/www/htdocs/'


Thanks,
Bill