Jump to content

Recommended Posts

I have a WebERP installation (it's an php/mysql-based accounting package). It's been working perfectly for months, until this morning. There appears to be a problem with the URL references being returned from the server.

 

Here's what I mean... hopefully this isn't a red herring.

 

The main login page comes up normally. After I log in, there's a $_SERVER['PHP_SELF'] call that reloads the page, after validating the username/password in the DB and setting some $_SESSION variables.

 

Normally, if my index.php page is

http://www.myserver.com/myapp/index.php

I will see the same URL returned after a successful login. Now, after processing the login, the URL is being parsed as:

http://www.myserver.com/~12093.912391/htdocs/myapp/index.php,

 

and I get a 401 error with the message that the page cannot be found. If I manually type the correct url, the Session variables are set and I can access the system.

 

No one other than myself has access to the scripts (at least no one else is authorized). And I haven't touched anything. I can only conclude that something in the Network Solutions server setup has changed, or something has been hacked. I think the latter is pretty unlikely, because I uploaded a backup of the site and had the same results.

 

This backup works perfectly on my local unix box, so I know it's not my script.

 

Any ideas?

 

Thanks,

Dave

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.