Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images in MAIN_TEXT field


lacie

Recommended Posts

Posted

Hi,

 

I can not get my images to show up in the MAIN_TEXT area of my home page. My site is at www.tastypresents.com I can see the image place holders (boxes with the red x) but no images. I used Dreamweaver to make the layout table. Can someone look at my code and explain what I am doing wrong?

Im a newbie, and don't know very much about PHP.

 

I'd really appreciate a quick solution to this problem. I've been working on this for almost a week, and can't figure out what I'm doing wrong.

 

Thanks!

Posted

The path to the image is wrong.

 

For example, the large pic in the middle has a path of:

 

http://www.tastypresents.com/public_html/images/mainb.gif

It should be:

 

http://www.tastypresents.com/images/mainb.gif

I think all the pics that don't show have the same path problem.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Cruising some other links in your site....

:blush:

 

Clicking "My Account" yields this error:

 

Warning: Cannot modify header information - headers already sent by (output started at /home/tayepret/public_html/includes/languages/english.php:673) in /home/tayepret/public_html/includes/functions/general.php on line 29

Click this link:

Headers Already Sent

 

The problem is in /includes/languages/english.php (line 673)

 

Judging from the line number, probably a "whitespace" at the end.

 

Clicking the "About Us" link yields a "Page not found" error.

 

You need to go into /includes/filenames.php and define the constant FILENAME_ABOUT

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

And your "Tell a Friend" link works without requiring the person to be logged in.

 

You need to make "Login" a requirement there.

 

If you don't, eventually some SPAM spewing web robot will find your site, send SPAM to thousands of people, and your host will probably shut your site down...

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
The path to the image is wrong.

 

For example, the large pic in the middle has a path of:

 

http://www.tastypresents.com/public_html/images/mainb.gif

It should be:

 

http://www.tastypresents.com/images/mainb.gif

I think all the pics that don't show have the same path problem.

 

----------------------

 

Thank you, thank you, thank you, thank you!!!! :D

Now I can move on and fix the other issues.

Posted

You're welcome. Ma'am.

 

I know... You're probably thinking, "Don't sugar coat it, tell me what you really think!".

:-"

 

I just figured I'd save you some time (and posts) than if you found these things on your own.

 

Anyway, if you need help fixing any of this, post again in this thread and I'll try to help you out.

;)

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Germ, I posted a similar problem on the installation and configuration forum a few hours ago and your diagnosis of lacie's problem perfectly fitted mine.

 

So thanks for helping me too.

 

Kind regards.

Archived

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

×
×
  • Create New...