Jump to content

Server Errors


Recommended Posts

I have set up apache server with WampServer. PHP & mysql.

 

My app has been written in Delphi PHP.

 

The following error is showing.

 

Warning: session_start() [function.session-start]:

open(C:\WINDOWS\Temp\sess_t9tc39gf13a09cpv29ghrjc8s7, O_RDWR) failed:

Permission denied (13) in C:\Websites\Mapping\vcl\forms.inc.php on line 130

 

 

What does this mean?

 

Cheers

 

SteveW

Link to comment
Share on other sites

What version of windows do you have installed? I'd recommend you to change the path in which sessions are written to, open the php.ini (accessible by WAMP's taskbar icon), scroll down and find the following line

;session.save_path = "/tmp"

Remove the semi-colon ( ; ) from the start of the line and change /temp to C:/wamp/temp

 

Save the php.ini and create a temp folder in C:\wamp. Afterwards restart WAMP

Link to comment
Share on other sites

I am running om SBS server 2003.

 

That setting is already in the PHP.ini

session.save_path = "c:/wamp/tmp"

The path already exists.

I have one file in the folder named session_dir

The file contains only the text session directory

 

Should there be some other info here? (session logs maybe)

 

Cheers

 

SteveW

Link to comment
Share on other sites

If I have 2 remote computers accessing the app and we hit a button at the same time we get the page not available error.

 

The buttons are using ajax calls to add a record to the database. These work okay if the users are not clicking at the same time.

 

How do I trace whats going on please

 

Cheers

 

SteveW

Link to comment
Share on other sites

I am not fully undersatnding the apache / php/ mysql setup.

 

We have three severs srv1 srv2 srv3

Srv1 controls user logins, has mysql setup with the tables stored in the mysql data directory. We have a fixed IP address (XX.345.345.34)  and the code points this data on port 3306. Port forwarding on 80 to srv1

 

Srv2 runs terminal services

 

Srv3 runs IIS. We have installed wampserver on this machine. The code reside in the apache www directory. We point to the code via (XX.345.345.34:8080) . Port forward ing on 8080 to srv3.

 

 

So to my confusion. Which php / or mysql settings am I looking at using wampserver or more to the point which should I be using.

 

 

Cheers

 

SteveW

Link to comment
Share on other sites

  • 2 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.