Topic: Unable to install Showkase [SOLVED]

Hi,

  If I may tag onto this thread, since this seems to have been resolved.  I am brand new to Showkase.  I have not been able to install it on my site.  I am currently receiving the following error:  "Check permissions for site folder – cannot create data folder _data"  I have attempted to modify the read/write permissions for folders on the site via Filezilla, but with no luck.  It returns a "command not understood" when attempting to change permissions.

  I ran the Server Compatibility test  and it passes the Basic Tests.  It, however, fails the file tests with the messages as shown in the code snippet below.  This seems to be pointing to a permissions issue too, though I'm not very knowledgeable about this stuff.  Would I need to contact my host about changing these permissions?  I have been able to manually upload and add/delete any folders in the past with no troubles.

  Thanks!

File handling tests
Warning: a base directory restriction is in effect on your server. This may cause problems reading and writing files (open_basedir = E:/Inetpub/vhosts/adamandalana.com\;C:\Windows\Temp\).

The test program will now carry-out a few file operations. If these produce any error messages then you should check the permissions on the ‘sktest’ folder and all of its contents and then run the test program again. See the help document for information on file permissions.

Attempting to create test folder g1\…

Warning: mkdir() [function.mkdir]: Permission denied in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 98
Failed to create test folder

Attempting to copy test file gallery.xml…

Warning: copy() [function.copy]: Unable to access g1\gallery.xml in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 103

Warning: copy(g1\gallery.xml) [function.copy]: failed to open stream: Permission denied in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 103
Failed to copy test file

Attempting to read contents of test file gallery.xml…

Warning: file_get_contents() [function.file-get-contents]: Unable to access g1\gallery.xml in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 108

Warning: file_get_contents(g1\gallery.xml) [function.file-get-contents]: failed to open stream: Permission denied in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 108
Failed to read test file

Attempting to open test file gallery.xml for writing …

Warning: fopen() [function.fopen]: Unable to access g1\gallery.xml in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 113

Warning: fopen(g1\gallery.xml) [function.fopen]: failed to open stream: Permission denied in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 113
Failed to open test file

Attempting to write to test file gallery.xml…
Failed to write to test file

Deleting test files …

Warning: fclose(): supplied argument is not a valid stream resource in E:\Inetpub\vhosts\adamandalana.com\thesaltyfog.com\sktest\filetest.php on line 123
Problems with some file operations: please check file and folder permissions

Re: Unable to install Showkase [SOLVED]

It looks like the open_basedir restriction that is in effect on your web server (as noted in your Showkase Server Compatibility Test results) may be preventing the Showkase scripts from writing files to your web server.
If you contact your web host, they should hopefully be able to lift this restriction on your hosting account.
I'm not sure if this is relevant (or perhaps the cause of the problem) but I notice that the Showkase Server Compatibility Test lists your open_basedir entry as E:/Inetpub/vhosts/adamandalana.com\;C:\Windows\Temp\
I would have expected the backslash at the end of adamandalana.com to be a regular slash instead (to match the other slashes in the path).

I have attempted to modify the read/write permissions for folders on the site via Filezilla, but with no luck.  It returns a "command not understood" when attempting to change permissions.

It is possible that your web host has disallowed the chmod command over FTP.
Try changing permissions via your web hosting CPanel's File Manager (in a web browser). Default permissions of 644 for files and 755 for folders should work fine for Showkase.

[Query moved to new forum thread.]

Re: Unable to install Showkase [SOLVED]

Thanks for the quick reply, Steven.  I've poked around in the control panel and couldn't find an appropriate place to change permissions, so I've sent a support ticket to the host.  I'll be back in touch when I have any news.

Re: Unable to install Showkase [SOLVED]

OK. Thanks for letting me know.
In your web host's online control panel, there is likely to be a 'File Manager' which you can use to change permissions.
Hopefully your web host will be able to help you out further with this. (The control panel interface may differ from web host to web host.)

Re: Unable to install Showkase [SOLVED]

Hi Steven, the host got back to me and made the required changes.  I've been successful in getting the initial setup done and am now diving into building the site.  Everything seems to be working properly at the moment.  Thanks for your help!

Re: Unable to install Showkase [SOLVED]

Everything seems to be working properly at the moment.

That's great to hear! Thank you for posting back to let me know.

Thanks for your help!

You're welcome!

Re: Unable to install Showkase [SOLVED]

Hi Steven,

  I've been able to work through the tools and have a fully functioning site (though still under construction).  Incredibly easy compared to my old DIY methods.  Works great on all the platforms I've tested so far.  Great job!

  One minor issue I'm having, though, is when I publish an update, I get a warning:  "Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode"  Is this something I can correct on my end or a bug in the system?  If I just tell it to publish anyway everything seems to work, but figured I should check.  I searched through the support but didn't see any references to it.  Thanks again.

Re: Unable to install Showkase [SOLVED]

It seems that your PHP installation is running in Safe Mode and certain PHP functions (such as set_time_limit()) are disabled in Safe Mode.
Please see here for details: http://php.net/manual/en/features.safe- … ctions.php

Showkase is unable to use the set_time_limit() function in your PHP installation but, ordinarily, this should not be a problem. Showkase tries to set a time limit to ensure that the script does not time-out whilst processing a large number of galleries and images. If your Showkase site is not too large, then the default time limit should be fine and you can just click past this warning.

If you like, you could perhaps contact your web host and ask for them to remove the Safe Mode restriction on your hosting account (although they may not be willing to do so).

Re: Unable to install Showkase [SOLVED]

Thanks, Steven.  I was able to find the setting for PHP Safe Mode in the host's control panel and I've switched it off.  Problem solved.  Thanks!

Re: Unable to install Showkase [SOLVED]

That's great!
Thanks for letting me know.