SnippetMaster Support Forums
Return to main website
 
January 20, 2018, 01:29:35 AM
* Show unread posts since last visit.
* Show new replies to your posts.
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 20, 2018, 01:29:35 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Restart The Installation Wizard « previous next »
Pages: [1] Print
Author Topic: Restart The Installation Wizard  (Read 4945 times)
smartarts

Posts: 18


[-] Restart The Installation Wizard
« on: July 09, 2012, 06:47:11 PM »

I am just about to re-install Snippetmaster (my server has just been moved so I think that may have caused the problem)

I have about 10 users (at different levels of access)

if I re-install will it use the existing database info and restore all the users etc

or will I have to backup the database and re import it
Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #1 on: July 09, 2012, 07:00:19 PM »

I just had a thought - this may be easier

the error says

"I was not able to open the database folder specified in your db.inc.php file:

/home/smarta/public_html/snippetmaster/snippet-db/3f10935120

Either the folder does not exist or it does not have enough read permissions."


I checked and the folder does exist - it has permissions 755

most of the files inside seem to have permission of 644

maybe I could just change the folders permissions - but to what ??
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Restart The Installation Wizard
« Reply #2 on: July 09, 2012, 10:24:25 PM »

Hello,

I just replied to your email about this, I think?

The problem is that your hosting provider has removed support for the "realpath()" PHP function.  This is needed by the Snippetmaster software to determine the correct path to the folder where the database files are located...

So you should ask your hosting provider why they have stopped this function from being able to work correctly.

Smile
Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #3 on: July 09, 2012, 10:26:38 PM »

thanks Henri !

great support as usual!!
Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #4 on: July 09, 2012, 11:16:32 PM »

I just need to update the path to the file in the db.inc.php file and its seems to work fine again

]would I need to update this path anywhere else?
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Restart The Installation Wizard
« Reply #5 on: July 09, 2012, 11:18:25 PM »

If the "realpath()" function is not working, then the Snippetmaster software is not going to work properly.  There are a lot of places within the software where this function is used...

Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #6 on: July 09, 2012, 11:20:17 PM »

so - given it was a path problem - if I back up the sql database -

re-install

then re-import the database - will that work ?
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Restart The Installation Wizard
« Reply #7 on: July 09, 2012, 11:22:07 PM »

If it was a simple path problem, then yes.. you would just need to make sure that any location in the database files have the correct path.  (So check into all the .php files in your database folder...)

However, in your case, the problem was that the realpath() PHP function is not correctly working.  So if that is the situation.. then SnippetMaster is not going to work, since this is a very basic PHP function that is needed by the software to function correctly.

Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #8 on: July 09, 2012, 11:27:56 PM »

(pardon my ignorance - I am not that adept at this kind of thing)

so - you are saying that the database backup will have the wrong path - so when re-imported the same problem will exist ?

if that is the case is there anyway to capture the user setting (password, directory settings etc?)
Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #9 on: July 09, 2012, 11:37:31 PM »

if I do re-install what will happen to things like existing callendar pages & any images (will the paths to these update automatically within the domain or will they be lost?

is there no way to do a search and replace all it needs is " /home/ " changed to " /home2/ "
Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #10 on: July 10, 2012, 12:11:08 AM »

ok

I have done a new instal & I have a question

how to I get the new install from Lite to Pro - I treid copy & pasting the license number form the old install to the new one but got a error of

transport error - HTTP status code was not 200

(Header: HTTP/1.1 404 Not Found )

(Request: POST /phpaudit/rpc.php HTTP/1.0 Host: www.key-vault.com Content-Type: text/xml User-Agent: The Incutio XML-RPC PHP Library Content-length: 367 license.get_status api_key4ae6fab68ba24ae0b53c0dde026555e5 licenseSM-PRO-4a0d6282cd263b632a980 ) (ErrorCode: -32300)
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 3169

SnippetMaster Author


WWW
[-] Re: Restart The Installation Wizard
« Reply #11 on: July 10, 2012, 08:14:09 AM »

This is the problem:

------------------
Unfortunately, the "enter license key" function in the current version of SnippetMaster is no longer working with the new license system I just implemented.  I am working on a fix for this, and hope to have it ready within a week or so.

In the meantime, I can enter the license key for you manually if you provide me with the FTP login information for your /snippetmaster folder.  Let me know.

Alternatively, you can enter the license key yourself by editing one of the Snippetmaster database files. Here are the instructions:

1. Download and open the "/snippetmaster/snippet-db/random_name/program_settings.php" for editing.

2. Look for this text around line #5:

----------------------
license#
----------------------

3. Add your license key after the number (#) sign, like this:

-----------------------
license#SM-PRO-yourkeyhere
-----------------------

(Make sure there is no spaces or anything else after the key.)

4. Look for this text around line # 8:

-----------------------
program_name#SnippetMaster LITE
-----------------------

5. Change it to this:

-----------------------
program_name#SnippetMaster PRO
-----------------------

6. Now save the file and upload it to your website over the old file.

7. Now go to your SnippetMaster login page.  The first time this page loads, it will show you a "invalid offline key" error.  Ignore this error and just reload the SnippetMaster login page again.  Now you should see the program name has changed to "SnippetMaster PRO". This means the license key was successfully installed.

If you have any trouble with these steps, please let me know and I will help right away.  Thank you for your patience as I work to fix this license update problem.
------------------
Report to moderator   Logged
smartarts

Posts: 18


[-] Re: Restart The Installation Wizard
« Reply #12 on: July 10, 2012, 02:04:32 PM »

thanks Henri

up & running
Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Restart The Installation Wizard « 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!