Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

oscThumb


bobeisenberg

Recommended Posts

I have added the oscThumb contribution, but it does not work. The problem seems to be caused by the application_top.php file:

 

I have manually edited it, by adding the following code as instructed:

 

"// START oscThumb

require(DIR_WS_CLASSES . 'oscthumb.php');

$oscthumb = new oscthumb;

$oscthumb->check_hash(); // Check if parameters have changed. Delete cache if yes.

// END oscThumb"

 

immediately before

 

"// initialize the message stack for output messages

require(DIR_WS_CLASSES . 'message_stack.php');

$messageStack = new messageStack;"

 

 

When I do this, I get the following message on my site:

 

 

"phpThumb() v1.7.7-200612252166

 

ERROR: missing hash"

 

 

Can anyone suggest what I should do?

 

Many thanks.

 

Bob.

Link to comment
Share on other sites

When having problems with a contribution, it's best to look/post in the support thread (if possible).

 

Try clicking here for some help.

 

When you find something that looks like it might help click the link to the right of Post Preview:

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 >

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...