Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Oh osCom gurus please help this poor man


digital_soul18

Recommended Posts

Posted

Hello!

I really need someones help in this matter. It's confusing as hell and annoying as hell as the same time. Heres the quick run down

 

> Installed osComm on a test site -> www.digital-soul.com.au/digitalsoul/index.php

> Customised much of the look and feel of the program and its functional

> Having problem with the right hand side bar

> On some pages the screen extends to the far right and others it displays perfectly. For example visit these two sites:

 

Perfectly working page:

The picture of what it looks like on my screen:

http://www.digital-soul.com.au/digitalsoul/fine.JPG

 

The URL:

http://www.digital-soul.com.au/digitalsoul/index.php

 

 

Stuffed up page:

The picture of what it looks like on my screen:

http://www.digital-soul.com.au/digitalsoul/stuffed.JPG

 

The URL:

http://www.digital-soul.com.au/digitalsoul/webdesign.php

 

 

 

I have also set up a test web server on my computer and it displays every page perfectly; like this:

http://www.digital-soul.com.au/digitalsoul/fine2.JPG

 

 

 

I've compared the code of the perfect displaying page to the non working page and the ONLY difference I find is this:

 

</table>

</td>

</tr>

</</td> <------------- this line should have a "</table>" rather then "</"

</tr>

</table>

<!-- shopping_cart_eof //-->

<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17>

<br>

<IMG SRC="images/Slice22.gif" WIDTH=266 HEIGHT=21>

<ul>

 

I can't seem to change the code for this in includes/classes/boxes.php (in $tableBox funcion or even in $infoBox) to force it to always write a "</table>" because I simply can't understand the code. Another reason is that if it displays fine on my webserver, why should I need change it at all? Is something wrong with my host?

 

My theory is that my host somehow doesn't allow long variables to be passed along scripts (ie. the tableBox_string is somewhat limited in size and can't grasp the final "</table>")

 

I really need some help on this task, I ask anyone with a kind heart to try and see where Im going wrong or what I can do. Thanks!!

 

:D :D

Posted

Hi,

 

I know what this is, a friend had the same problem a few days ago, give me 5 or 10 mins to do some searches and find it.

 

Basically, code gets over-written, it's a bug in PHP version, ... nope memory not good, give me 5 or 10 mins.

 

Peter

Posted

what is the actual code for the table containment for the right hand column in the file webdesign.php

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

Hi,

 

Thank you very much, ive also just realised that my host has PHP ver 4.2.2 whereas I have 4.3.2 - cheap b*stards havent even upgraded

 

.. and would you beleive the fix to the bug is in PHP 4.3.x :D

 

Peter

Posted

A bit like this one then

 

PAGE DISPLAYS WRONG ON FIRST LOAD

 

catalog/includes/application_top.php

 

on the line below <?php at the very beginning of the file, add

 

ini_set ( 'session.use_trans_sid', 0);

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

YES!!!!!!!!!!!!!!!!!!!!!!

 

this might just do the trick!!!... THANKS peterr!!!!! you've been an enormous help... now i can finally finish this thing and save me more red eye!! cheers! :D :D :D

Archived

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

×
×
  • Create New...