SnippetMaster Support Forums
Return to main website
 
April 23, 2018, 08:55:06 PM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 23, 2018, 08:55:06 PM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Auto install Failed to open stream « previous next »
Pages: [1] Print
Author Topic: Auto install Failed to open stream  (Read 2626 times)
beekeeper

Posts: 24


[-] Auto install Failed to open stream
« on: March 01, 2009, 06:36:32 AM »

Hi
before trying to install snippet master I checked phpinfo which returns
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with the ionCube PHP Loader v3.1.33, Copyright (c) 2002-2007, by ionCube Ltd.,
I downloaded autoinstaller,uploaded and ran it
with this result
Warning: main(public_html/snippetmaster/db.inc.php) [function.main]: failed to open stream: Permission denied in //public_html/snippetmaster/install/install2.php on line 0

Fatal error: main() [function.require]: Failed opening required '//public_html/snippetmaster/db.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in //public_html/snippetmaster/install/install2.php on line 0
whats causing this ??
   
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Auto install Failed to open stream
« Reply #1 on: March 01, 2009, 07:58:10 AM »

Hello,

From the error, it looks like the path information is not correct...  Can you send me an email to henri@snippetmaster.com with your FTP info and I'll login and take a look?

(I wonder if PHP "sessions" are working correctly for your server?)

Let me know.  Smile
Report to moderator   Logged
beekeeper

Posts: 24


[-] Re: Auto install Failed to open stream
« Reply #2 on: March 01, 2009, 12:35:59 PM »

Thanks for sorting it
This was originally a non profit domain but is now liklely to become semi commercial so I have now purchased a key and upgradeded to the pro version and all is working fine
I would appreciate it if you could tell me if it was somthing that I did  wrong as I may be moving another domain to the same host shortly and would hate to make the same mistake twice
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Auto install Failed to open stream
« Reply #3 on: March 01, 2009, 12:38:44 PM »

No problem.

After logging into your FTP account, I saw that your db.inc.php file had incorrect permissions.  (It was missing "read" permissions for the user that your PHP software (snippetmaster) runs under.)

I gave it read permissions, and that seems to have fixed the problem.

Smile

If you ever get stuck with anything else, just let me know and I'll try to help asap.

Cheers!
Report to moderator   Logged
beekeeper

Posts: 24


[-] Re: Auto install Failed to open stream
« Reply #4 on: March 01, 2009, 12:53:36 PM »

Thanks
much appreciated
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Auto install Failed to open stream « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!