SnippetMaster Support Forums
Return to main website
 
May 17, 2007, 11:35:27 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?
May 17, 2007, 11:35:27 AM

Login with username, password and session length
Search:  
Advanced search
* Home Help Search Login Register
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Autoinstaller Issues with Windows Server « previous next »
Pages: [1] Print
Author Topic: Autoinstaller Issues with Windows Server  (Read 387 times)
kfiant

Posts: 6


[-] Autoinstaller Issues with Windows Server
« on: May 21, 2006, 07:32:23 PM »

I am getting ready to re-install snippetmaster on a Windows server.  See the below link for information regarding the server:

http://www.delawarechristian.org/kftest/phpinfo.php

I tried twice already and got the following message the second try:

***************
Verifying selected program folder...
Testing if we should use the Ioncube or Zend encoded version...
      Ioncube loaders are not installed.
      Zend Optimizer (v2.6.0) is installed on your server so we will use the Zend version of SnippetMaster.
Setting up the FTP connection...
Creating temporary work folder...

Warning: ftp_chmod() [function.ftp-chmod]: 'SITE CHMOD 1411 temp-for-installer-please-delete-me': command not understood in d:\home\hnt25a131\snippetmaster\autoinstaller.php on line 2
Downloading the latest SnippetMaster file: snippetmaster2.2.2-zend.zip ...(please wait)
      File is downloaded. Now saving it...
Unzipping the files and FTPing them into your /snippetmaster program folder.
      Doing the folders...
      Doing the files...(please wait)
Detected 1st time installation. Renaming the db pointer file and changing file permissions...

Warning: ftp_chmod() [function.ftp-chmod]: 'SITE CHMOD 1411 db.inc.php': command not understood in d:\home\hnt25a131\snippetmaster\autoinstaller.php on line 2

Warning: ftp_chmod() [function.ftp-chmod]: 'SITE CHMOD 1411 snippet-db': command not understood in d:\home\hnt25a131\snippetmaster\autoinstaller.php on line 2
All done! I will now start the cleanup process.
Removing temporary work folder...
Attempting to delete myself...

The Auto-Installer is now finished!
Please review the messages above. If there are no errors, you can start the Installation Wizard.
**********************************************************************************
The program installed but I could not see any other folders on my server once logged into snippetmaster.

I've contacted my hosting company's support department and they indicate they will make whatever adjustments are necessary.  Before I try to install again can someone let me know what exactly I need to have them change?

Any help is appreciated!  P.S. - I've got this program working on a test Linux server and it runs great!  Does exactly as I had hoped!
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 1833

SnippetMaster Author


WWW
[-] Re: Autoinstaller Issues with Windows Server
« Reply #1 on: May 22, 2006, 05:01:00 AM »

From what I can see.. the "ftp_chmod() " function in PHP is producing the errors.

I'm not sure what change is needed to be made by your webhost, but basically it looks like their PHP configuration is not properly understanding the following code:


   ftp_chmod($conn_id, 777, $path_to_file);

What I recommend is showing them this post, and then asking them to verify that the "ftp_chmod()" command works properly.

If all else fails, it looks like the autoinstaller is working properly EXCEPT for the final stage of giving write permissions to the database folder and the db.inc.php file.

But not to worry.. you can do this manually (might not even be needed on a Windows server!) and everything should be fine.

Smile
Report to moderator   Logged
kfiant

Posts: 6


[-] Re: Autoinstaller Issues with Windows Server
« Reply #2 on: May 23, 2006, 07:47:51 PM »

Below is a copy of the back and forth post I had with my Web Host as you had suggested:

Does this make any sense to you?  (Doesn't to me....)

Has this issue come up on other installs on Windows Servers?  Is it preferable to run snippetmaster on Linux/Apache servers instead?  (I may be able to change my hosting plan if needed...?  Because I would really like to use your program)

Thanks!
**************************
Kevin,

ftp_chmod() works fine on our servers; however, if you are connecting to your hosting account with us, it will have no effect, since the CHMOD command doesn't work with Windows servers. Basically, PHP is acting as an FTP client, so if there is an operation (such as CHMOD) that you cannot do from a normal FTP client (such as AceFTP), you won't be able to do it from PHP either. If you need any permissions changed, you will need to open a support ticket with us.

Please let us know if you have any more questions.
 
--
Dan F.
http://hostek.com

-------- Original Message --------
>
> Sent: Mon, 22 May 2006 11:07:47 -0500
> To:
> Subject: Follow-Up to ticket# 2D6-0BFBAAA8-AC15
>
> Please see the following post:
>
> http://www.snippetmaster.com/forums/index.php?topic=1003.new;topicseen#new
>
> Can you verify that the PHP ftp_chmod() command is working properly on the server?
>
> Ultimately, all I want to do is modify what settings are needed to allow Snippetmaster to operate properly... Nothing more.
>
> Thanks!
Report to moderator   Logged
admin
Forum Administrator
*
Posts: 1833

SnippetMaster Author


WWW
[-] Re: Autoinstaller Issues with Windows Server
« Reply #3 on: May 24, 2006, 02:46:35 AM »

What they are saying is usually correct, for windows servers.

Is Snippetmaster not working for you after the install?  You may have received a chmod error, but in fact, it might still work, since windows servers will usually already have correct permissions... so even though the chmod function failed, it may have not been necessary in the first place.

Let me know if it's not working for you and if not, send me an email with a link to this thread to henri @ www.snippetmaster.com and I'll check into it with you.

Smile
Report to moderator   Logged
kfiant

Posts: 6


[-] Re: Autoinstaller Issues with Windows Server
« Reply #4 on: June 02, 2006, 06:05:06 PM »

I tried again to re-install the program on our windows server and it actually did load and appears to be working except that for some reason it is not recognizing the root folder of our site.  For some reason during the autoinstaller process the program wanted to assign the following folder as my root to the ADMIN user:
 
d:\home\hnt25a131\snippetmaster\install
 
when the actual root is:
 
d:\home\hnt25a131 (I've verified this with my web host)
 
I then changed the path in the ADMIN section of Snippetmaster for the "Power User", saved, logged out, and logged back in....  I got the following error:
***********
The <b>d:\home\hnt25a131</b> folder does not exist!
Your Starting Folder probably does not exist. Your admin needs to go to the Admin area and check the Starting Folder setting for your user is correct.
FUNC: directoryDropdownOptions()
**************
I can set it to a sub-folder under the root and it "sees" everything fine....  File permissions are all supposed to be set. 
Any ideas?  I was thinking about creating a subfolder under root, uploading site to that folder and then asking my web host to "point" our domain name to that folder.  Then trying snippetmaster install again...  Any help would be greatly appreciated.  Thanks!

Nevermind - Success at last! I created the sub-folder under root and made that my WWW root folder than installed snippetmaster and it worked fine!!!
« Last Edit: June 04, 2006, 07:29:29 PM by kfiant » Report to moderator   Logged
Pages: [1] Print 
SnippetMaster Support Forums  |  General  |  Installation Issues  |  Topic: Autoinstaller Issues with Windows Server « previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!