Setting permissions in Windows (PLESK)

Started by zazen, March 18, 2008, 04:32:16 PM

Previous topic - Next topic

zazen

Hi,

I'm trying to install an SMF forum on a Windows 2003 virtual server (I'm the server admin), but am getting the usual:

"You're on a windows server, and some crucial files are not writable. Please ask your host to give write permissions to the user PHP is running under for the files in your SMF installation. "

What does that mean exactly? I've given the actual user / domain owner full admin rights, but that doesn't help, so there must be something else that needs to be changed?

Rich


青山 素子

Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zazen


Hm, well I actually found a setting that seems to do the trick:

"Additional write/modify permissions:
This option is required if customer's web applications are using a file-based database (like Jet) located in the root of httpdocs or httpsdocs folders. Please note that selecting this option might seriously compromise the web site security."

SMF installs when I check this setting, though it displays an error message on the next page where you enter the admin login details:

Error in my_thread_global_end(): 1 threads didn't exit

Final page does however say the installation was succesful.

The forum starts up normally after installation, but if I log out I get this message:

"Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server."

I also get this message whenever I try to access the forum again, in other words, it doesn't work...

Rich



zazen

Quote from: zazen on March 18, 2008, 05:29:41 PM

The forum starts up normally after installation, but if I log out I get this message:

"Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server."

I also get this message whenever I try to access the forum again, in other words, it doesn't work...

Rich


Well, seems like this error comes and goes in an unpredictable way, under different circumstances (accessing the forum, login, logut). E.g. if I try to access the forum and reload the page several times, I sometimes get the error, sometimes not (= the forum loads allright).

Rich



青山 素子

Quote from: zazen on March 18, 2008, 05:29:41 PM
SMF installs when I check this setting, though it displays an error message on the next page where you enter the admin login details:

Error in my_thread_global_end(): 1 threads didn't exit

It's a bug in the libmysql.dll file included with PHP. That seems to be covered in PHP bug #41350 and MySQL Bug #25621.


Quote from: zazen on March 18, 2008, 05:29:41 PM
The forum starts up normally after installation, but if I log out I get this message:

"Bad Gateway
Web server received an invalid response while acting as a gateway or proxy server."

I also get this message whenever I try to access the forum again, in other words, it doesn't work...

That is a common issue when using PHP as a CGI under IIS (or any scripting language as a CGI). The problem goes away when using FastCGI or the ISAPI interface. You should see if Plesk supports either one of those configurations.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zazen

#6
Quote from: Motoko-chan on March 18, 2008, 05:56:30 PM
It's a bug in the libmysql.dll file included with PHP. That seems to be covered in PHP bug #41350 [nofollow] and MySQL Bug #25621 [nofollow].

OK, I'll try to update the dll.

BTW, I have a strange "mouse over" issue with some pictures on the front page of SMF, there's a Flash video here demonstrating it:

http://taoscience.net/temp/smferr1/smferr1.html [nofollow]

Can it have been caused by the installation error? In that case a reinstall of SMF after having replaced the libmysql.dll should solve it I guess?


Quote from: Motoko-chan on March 18, 2008, 05:56:30 PM
That is a common issue when using PHP as a CGI under IIS (or any scripting language as a CGI). The problem goes away when using FastCGI [nofollow] or the ISAPI interface. You should see if Plesk supports either one of those configurations.

I'm already using FastCGI, but I tried to shift to ISAPI, that seems to have solved the problems.

Rich

青山 素子

Quote from: zazen on March 20, 2008, 02:05:56 AM
BTW, I have a strange "mouse over" issue with some pictures on the front page of SMF, there's a Flash video here demonstrating it:

Can it have been caused by the installation error? In that case a reinstall of SMF after having replaced the libmysql.dll should solve it I guess?

Re-upload the images for your theme. It seems some either corrupted on upload or were not uploaded.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zazen


Well all seems fine now.  Thanks very much!

Rich

Advertisement: