Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - all my graphics & pics have disappeared....


Guest

Recommended Posts

Posted

I've been away on holiday for a week........before I left, I updated one page to state that any orders would be shipped after the 23rd.........and it was working perfectly before I left.

 

The only other thing I did was to set an auto response for our email - but this was from our cpanel at our host site - nothing to do with the website.

 

All the links work, but all the graphics and photos of product are gone.............I've deleted the html I added for the away message, but nothing has changed......

 

What could have gone wrong?

Posted
I've been away on holiday for a week........before I left, I updated one page to state that any orders would be shipped after the 23rd.........and it was working perfectly before I left.

 

The only other thing I did was to set an auto response for our email - but this was from our cpanel at our host site - nothing to do with the website.

 

All the links work, but all the graphics and photos of product are gone.............I've deleted the html I added for the away message, but nothing has changed......

 

What could have gone wrong?

I can see them. Did you fix it? If so, care to post a description of the problem and the fix? If not, try F5 to refresh.

Posted

I just restored my most recent backup from March 5th - it is still in the restore process - so maybe that fixed it?

 

I still can't see any of the graphics/pictures, even after F5..........

Posted

Post what you have for this line in your /catalog/includes/configure.php file:

 

  define('HTTP_SERVER', ''); // eg, http://localhost - should not be empty for productive servers

Don't post the code from the entire file.

 

Just that one line.

 

Look at your HTML source:

 

<base href="">

That'll screw up an osC store in a hurry...

:o

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
I just restored my most recent backup from March 5th - it is still in the restore process - so maybe that fixed it?

 

I still can't see any of the graphics/pictures, even after F5..........

Try clearing your cache. I don't see how the problem could be your configure.php file since I can see your pics and graphics at my end.

Posted

Dave, you're probably using Firefox.

 

It's a "smart" browser.

 

Look at her site with IE, a "stupid" browser.

 

All the pics aren't there in IE.

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
Dave, you're probably using Firefox.

 

It's a "smart" browser.

 

Look at her site with IE, a "stupid" browser.

 

All the pics aren't there in IE.

You are right! I learn something new every day. Sometimes it's the same thing over and over......

Posted

I learn something new every day, too.

 

My problem is that there is only so much room "up there" so something I learned yesterday or last week has to go to make room, so I really don't gain anything...

:blink:

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

Here's what I have in configure.php:

 

define('HTTP_SERVER', 'http://www.2galsscrappin.com'); // eg, http://localhost - should not be empty for productive servers

 

 

 

Where will I find the HTML source?

 

I ended the back-up restore - it was taking way too long.............

Posted
Here's what I have in configure.php:

 

define('HTTP_SERVER', 'http://www.2galsscrappin.com'); // eg, http://localhost - should not be empty for productive servers

 

 

 

Where will I find the HTML source?

 

I ended the back-up restore - it was taking way too long.............

Go to the URL (using your browser) and then click on View then Source (in IE, or Page Source in Mozilla).

Posted

Here's what the html source line says:

 

<base href="">

 

I'm checking from work and can see all the graphics in my Firefox browser, but not in the IE browser........

Posted

See if you have this file:

 

/catalog/includes/local/configure.php

 

If so post the line I requested from it.

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

Nevermind...

 

You don't have that file.

 

Use the link below to help find what version of osC you have, and let me know.

 

What version is my shop?

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

Sorry this took so long - I was offline most of the evening!

 

Here's what version I have:

 

// define the project version

define('PROJECT_VERSION', 'osCommerce 2.2-MS2');

Posted

I bet something on the server changed and osC thinks SSL is on.

 

Let's try this.

 

Look in your /catalog/includes/configure.php file for this line:

 

  define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

Change it to:

 

  define('HTTPS_SERVER', 'http://www.2galsscrappin.com'); // eg, http://localhost - should not be empty for productive servers

Please note that this is the define for HTTPS_SERVER an NOT HTTP_SERVER

 

You might have to change the permissions to 644 to be able to edit it and save the changes.

 

If you do be sure to write down what the permissions are now so you can change them back to that setting after editing.

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

Ok - I copied and pasted the code exactly as you wrote it here for me - I didn't have to change any of the permissions to edit the file directly through my cpanel access.

 

Still no change though.

Posted

The source changed..

:)

 

Now in the configure file set this like this:

 

  define('DIR_WS_HTTPS_CATALOG', '/catalog/');

And it will work.

;)

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

THANK YOU!!!!!!!!!

 

All better now - whew!

 

I really appreciate the help!

Posted

For some reason osC THINKS SSL is "on".

 

Do you want to spend a few more posts to figure out why and fix it "the right way", or just "call it good" where it is?

:unsure:

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

I wouldn't mind fixing it the right way.

 

While it's great to have it back again, having it done the proper way would help me learn!

Posted

OK.

:)

 

In /catalog/includes/application_top.php about lne 40 from the top there will be some code that looks something like this:

 

// set the type of request (secure or not)
 $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL';

Post the code you have in your file for those lines.

 

In a "vanilla" install this is the code osC uses to tell if SSL is active or not.

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
Can you help me I'm having the same issue, my ssl is turned on and I want to leave it on. What do i do?

1. I really don't understand your problem?

 

2. Have you started another thread about this or are you just going to hijack this thread?

 

:unsure:

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
1. I really don't understand your problem?

 

2. Have you started another thread about this or are you just going to hijack this thread?

 

:unsure:

 

I apologize, I did start another thread and then I saw this one, I didn't see it when I searched earlier for something like this.

 

I am having the same problem he is or was having. I can't see my product pics in ie but in firefox they are fine. Any other pictures in my /images file are fine like store logo and such, but no product images in the store or admin area. (www.wallcreationsandmore.com by the way)

Posted

I posted in the thread YOU started.

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 >

Archived

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

×
×
  • Create New...