Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Server update to php5 problem


yogidegr8

Recommended Posts

Posted

I have suddenly started getting this problem in my home page, in the left column under the Whats'new box. and after that the whole page is blank..

 

"Die angegebene Datei konnte nicht auf dem Server gefunden werden!

 

My host have informed that they have recently updated their server to php5 and that the problem is with my old code. I tried to search the forum but couldn't find any solution for this.

 

After searching a lot on this error I know that it is related to the Auto Thumbnail contribution and in that to the folder permission set to 777. Mine catalog/images and catalog/images/imagecache folders have 777 permissions which is needed for auto thumbnail contrib.

 

Please help urgently.

Posted
Mine catalog/images and catalog/images/imagecache folders have 777 permissions which is needed for auto thumbnail contrib

I can't help with your problem, but I will tell you that having ANY folder accessible by a browser set to 777 permissions is a HUGE MISTAKE.

 

Eventually you WILL GET HACKED.

 

It's just a question of when and by whom and how bad will it be.

 

I know.

 

It happened to me.

:blush:

 

There are many web robots combing the internet 24/7/365 looking for things like that, and eventually one will find you.

: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

Thanks, Oh! is it that serious. I didn't knew that. The contribution of auto thumbnail requires that to be 777 any modifications possible will be welcomed. As my latest prioreity is to get the site running again. Please dose anyone know about this problem?

 

"Die angegebene Datei konnte nicht auf dem Server gefunden werden!"

 

I read somewhere that this has got to do something with the 777 permissions. The php5 server just ignores this folder therefore it says that file dose not exist.

 

Anyone???

Posted

Before 777 have you tried 644 setting?

The store should work with 644.

 

In case contrib requires the folder to be 777

a. roll back the contribution

b. Ensure basic OSC works well with PHP5

c. Look for any modified contribution - which may have resolved or fixed the requirements of 777.

 

Thx

Gaurav

Best Regards,
Gaurav

Posted

Problem again. In the afternoon it was working fine but again in evening it is showing problem. I haven't done any changes in permission.

 

Now the store shows same problem even if I change to 755 then the problem stays the same with ""Die angegebene Datei konnte nicht auf dem Server gefunden werden!"" note in left column in the Whats new box and than blank page. If I change the image folder and imagechache permissions to 644 then it shows full page but no thumbnails and many design images also missing.

 

Please urgent help needed.

Posted

Since I'm only fluent in English and broken Spanish, can you translate the error?

:unsure:

 

Die angegebene Datei konnte nicht auf dem Server gefunden werden!

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

Translation is

"The specified file could not be found on the server are!"

 

This was in html_output.php in functions. This error message comes with auto thumbnail contribution.

 

What I have done now is to replace my html_output.php with an original one which dose not have the contribution code.

 

THe site is running normally now but the only problem is that in thumbnails the original pictures are coming and it is takeing a lot of time to download.

 

As this problem seems to be solved, my next question is :

 

Which is the best contribution to get the thumbnails generated for the store?

Posted

In the 'On the Fly' Auto Thumbnailer using GD Library script also it is written to chamod the /thumbnails/ directory to 777 and also the images folder to 777 wouldn't that be a huge risk. In order to save the auto generated thumbs what need to be done to avoide chaning to 777?

 

Any installation for auto thumbnails for store which is safe?

Posted

I know it rather defeats the purpose, but something you could do is to generate all the thumbnails automatically beforehand, then set the thumbnail folder to 444, say. Whenever you add new images, just temporarily set the directory back to 777 (or whatever) to update the thumbnails again. The code you'd write to do the generation would be a simple php file to run through your product database and request an image in each size you use.

 

I know, silly idea! But at least it would be secure. :)

 

Does someone know of an auto-thumbnail contrib that is secure?

Archived

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

×
×
  • Create New...