Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing '&' In Web Address Bar


oscfhelp

Recommended Posts

Hello.

 

The code generating the session id apprears to be missing a & symbol between "osCsid=...?osCAdminID=...". It should read "osCsid=...&?osCAdminID=...":

 

/shop/catalog/login.php?osCsid=ccd3cf2bd4dd435ba2feb9250ecd942b?

osCAdminID=9d14b25171ba9967e05043269f7cedde&osCAdminID=9d14b25171ba9967e05043269f7cedde&osCAdminID=

9d14b25171ba9967e05043269f7cedde&osCAdminID=9d14b25171ba9967e05043269f7cedde&osCAdminID=9d14b25171ba9967e05043269f7cedde

&osCAdminID=9d14b25171ba9967e05043269f7cedde&osCAdminID=9d14b25171ba9967e05043269f7cedde

 

Im given the following errors because of this:

 

Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/mt-custo/public_html/shop/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/mt-custo/public_html/shop/catalog/includes/functions/sessions.php:67) in /home/mt-custo/public_html/shop/catalog/includes/functions/sessions.php on line 67

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mt-custo/public_html/shop/catalog/includes/functions/sessions.php:67) in /home/mt-custo/public_html/shop/catalog/includes/functions/sessions.php on line 67

 

Can anyone tell me where the code generates the '&' symbol so I can put it back in?

Also, why is "osCAdminID" added to the URL multiple times?

 

Thanks,

Guy.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...