Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Everythings hitting the fan


socal_kl

Recommended Posts

HI AGAIN

 

 

I don't know what changes I made trying to add a contrib. for the thumbnail problem I'm having and then all of a suddent none of the links on the page started to work. It looks like there trying to go through some random directory.

 

http://www.urlhere.comdir_ws_adminindex2.php/?cPath=19

 

when it should be

http://www.urlhere.com/index2.php/?cPath=19

 

... not sure why all of a sudden its doing this and im really just losing it over here. thanks any help is appreciated. :'(

Weather you think you can, or you think you can't. Your right.

Link to comment
Share on other sites

HI AGAIN

I don't know what changes I made trying to add a contrib. for the thumbnail problem I'm having and then all of a suddent none of the links on the page started to work. It looks like there trying to go through some random directory.

 

http://www.urlhere.comdir_ws_adminindex2.php/?cPath=19

 

when it should be

http://www.urlhere.com/index2.php/?cPath=19

 

... not sure why all of a sudden its doing this and im really just losing it over here. thanks any help is appreciated. :'(

 

You have an error in your configure.php file it looks like. Looke for the definition DIR_WS_ADMIN and see what it's suppose to be defined as. Make sure that anything that is added to the string has a '.' and not '+' (common mistake between different programming) and make sure there is a ';' at the end of the line.

 

Just play with the configure.php for a little while and you should be able to get it.

Link to comment
Share on other sites

i got the links to work again but now im getting this error at the top of the page

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kmgmedio/public_html/adult/includes/functions/html_output.php:597) in /home/kmgmedio/public_html/adult/includes/functions/sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kmgmedio/public_html/adult/includes/functions/html_output.php:597) in /home/kmgmedio/public_html/adult/includes/functions/sessions.php on line 97

 

 

.. today just isn't my day i guess.

Weather you think you can, or you think you can't. Your right.

Link to comment
Share on other sites

i got the links to work again but now im getting this error at the top of the page

 

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kmgmedio/public_html/adult/includes/functions/html_output.php:597) in /home/kmgmedio/public_html/adult/includes/functions/sessions.php on line 97

 

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kmgmedio/public_html/adult/includes/functions/html_output.php:597) in /home/kmgmedio/public_html/adult/includes/functions/sessions.php on line 97

.. today just isn't my day i guess.

 

Did you add stuff to the html_output.php file at all? Because mine is oly 339 lines long, and that error happened on line 597 it looks like. If you did, is there a session_start() in that file that is conflicting with everything else?

Link to comment
Share on other sites

nope, after i noticed the error i tried to do the logical thing and upload the orginal one i backed up, and still ntohing. it has 299lines.. i dunno why its saying 597. GRRRRR

Weather you think you can, or you think you can't. Your right.

Link to comment
Share on other sites

nope, after i noticed the error i tried to do the logical thing and upload the orginal one i backed up, and still ntohing. it has 299lines.. i dunno why its saying 597. GRRRRR

 

Sorry, I don't know what else it could really be... I did find this link that might help a little: Here

 

Not sure if that will help, but I'm not sure of what else it could be...

Link to comment
Share on other sites

fixed it, removed '$session_started' from 2 places in the html_output... all this is happening because all I'm trying to do is increase the thumbnail size of all the product images. The height adjusts fine with no problem, but the width doesn't change one bit. Ive changed it in the admin--configuration--images ... and nothing. I even went into the code and added *1.5 or *2 to the end of SMALL_IMAGE_WIDTH ... and NOTHING, i don't get it. why can I adjust the height but not the width.

Weather you think you can, or you think you can't. Your right.

Link to comment
Share on other sites

nope, after i noticed the error i tried to do the logical thing and upload the orginal one i backed up, and still ntohing. it has 299lines.. i dunno why its saying 597. GRRRRR

Headers already sent is usually a whitespace problem. Make sure the end of your files have no blank spaces after the closing php tag.

 

Tim

Link to comment
Share on other sites

Regarding the error:

 

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

 

Here are my findings:

I noticed when I save the /catalog/includes/configure.php file with windows notepad it just will not work. Period. I tried opening it in NotePad then saving it without making a single "change" and it gave the error "Warning: Cannot modify header information..." when I load a shopping cart page.

 

So for the fix I replaced it with a copy of my back up and using WinMerge (windows program) to edit the /catalog/includes/configure.php it preserved the format and it works. I think this applies to more of the osCommerce files too, keep it in mind when you are troubleshooting.

 

Okay, hope it helps.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...