Jump to content

Internal Server Error. using "::" ?


PC Nerd

Recommended Posts

hi guys.

 

ivre recently installed  V-Webmail on my server, and the installation worked fine on my localhost.  However when i uploaded the files to my online server, i found that i got "Intertnal Server Error".  Now when i looked at the index.php, it had code, using :: between words  an example is below.  Coudl this be cauaseing the error, or is it somethign else?

 

thanks for your help,

PC Nerd

 

include('config.php');

 

/**

** Check Login

*/

auth::check_login('login.php', 'index.php');

 

/**

* Redirect to email.list.php

*/

common::redirect('email.list.php');

 

Please remember this is the index.php from V-Mail, just to make sure im not bvreaching copyright.:>

 

thanks

Link to comment
Share on other sites

ok, this is the htaccess file.... that comes with the files....

i dont know anythign about this sort of stuff..... can some one let me know what mught be causeing this problem?

 

thanks.

 

php_flag session.auto_start Off

php_flag register_globals Off

 

Link to comment
Share on other sites

Perhaps include a file like this in every file of your site? Or put it in the config file or something, just anything as long as it's included in every file!

 

ini_set("session.auto_start", 0);
ini_set("register_globals", 0);

Link to comment
Share on other sites

thats a problem, becauase it took me ages to upload the directory.... like theres heaps if files.  thats why i think thayve put in htaccess etc..... i dont even know what each one is doing... unless its going to impact onm site, i could always place it in the /www/ directory version?  would this help

 

thanks

Link to comment
Share on other sites

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.