|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
greysun Smarty n00b
Joined: 30 Aug 2004 Posts: 2
|
Posted: Mon Aug 30, 2004 6:34 am Post subject: Warning: main(db/local.php): failed to open stream |
|
|
I have been having some major issues trying to get this to work. I am a novice to this script but I have installed tons of other scripts.
First I was having a problem during install with not being able to write to the templates_c dir. I found something on the board here that said if I set var $use_sub_dirs = false instead of true it may resolve this issue. I am up to the point in the install where it says Welcome to the installation script!
You can now create a new database or update your current database
But above this it shows several errors.
They are
Warning: fopen(db/local.php): failed to open stream: Permission denied in /home/webshos/public_html/tiki/tiki-install.php on line 306
Warning: fwrite(): supplied argument is not a valid stream resource in /home/webshos/public_html/tiki/tiki-install.php on line 307
Warning: fclose(): supplied argument is not a valid stream resource in /home/webshos/public_html/tiki/tiki-install.php on line 308
Warning: main(db/local.php): failed to open stream: No such file or directory in /home/webshos/public_html/tiki/tiki-install.php on line 309
Warning: main(db/local.php): failed to open stream: No such file or directory in /home/webshos/public_html/tiki/tiki-install.php on line 309
Warning: main(): Failed opening 'db/local.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php:lib/pear') in /home/webshos/public_html/tiki/tiki-install.php on line 309
I am sure this has something to do with me setting the above variable to false but I am not sure how to even make the script work without doing this.
it looks like the script is looking for the file db/local.php but this path and file does not exist.
Now if I continue on and try to create the database or upgrade the database I get the following error
Fatal error: Call to a member function on a non-object in /home/webshos/public_html/tiki/tiki-install.php on line 27.
Any idea what might be going on?
Any help would be appreciated. I can send you any info you need or even give you access to my server if you can help
Gray |
|
Back to top |
|
greysun Smarty n00b
Joined: 30 Aug 2004 Posts: 2
|
Posted: Mon Aug 30, 2004 6:36 am Post subject: |
|
|
I also forgot to mention. this may or may not be important. I am on a shared server. All I have is cpanel and ftp access. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|