Forums / All Other Contributions/Addons / ih3 manager - problem

ih3 manager - problem

Views: 1,301

Results 1 to 13 of 13
17 Jul 2012, 7:45 PM
#1
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

ih3 manager - problem

ih manager 3 in zencart 139

I installed the module and everything seemed ok ..

Then they loaded up no more 'photos

with the following error / debug files

[12-Jun-2012 16:14:03] PHP Warning: move_uploaded_file (/ var / www / vhosts / surgical.it / httpdocs / images / medium / Fan Vetronic sav03 ridotto_01_MED.jpg): failed to open stream: Permission denied in / var / www / vhosts / surgical.it / httpdocs / back / includes / ih_manager.php on line 213
[12-Jun-2012 16:14:03] PHP Warning: move_uploaded_file (): Unable to move '/ tmp/phpCU5jxw' to '/ var / www / vhosts / surgical.it / httpdocs / images / medium / Fan Vetronic sav03 ridotto_01_MED.jpg 'in / var / www / vhosts / surgical.it / httpdocs / back / includes / ih_manager.php on line 213

I thought that was due to the permissions of the medium and large

now folders, medium, large en at 777 and got the following error


Error!

Unable to Determine the page link!

Function used:

zen_href_link ('','', 'NONSSL')

thanks

ps: sorry for my english

18 Jul 2012, 7:36 AM
#2
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

if make permission folder images/medium + images/large at 755
i have this error to header screenshot

TEXT_MSG_NOUPLOAD_MEDIUM
TEXT_MSG_NOUPLOAD_LARGE

18 Jul 2012, 8:54 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ih3 manager - problem

favjola:

if make permission folder images/medium + images/large at 755
i have this error to header screenshot

TEXT_MSG_NOUPLOAD_MEDIUM
TEXT_MSG_NOUPLOAD_LARGE

Other than these errors, do the uploads work ok with these file permissions?

These 'errors' are actually harmless (and easily fixed) as long as they are the only thing that is amiss. They are caused by missing 'defines', which will occur if you are missing the IH3 language file (or if the permissions are preventing it from being read)

If you are getting these errors and the uploads are still failing then you have more than one problem to fix. Perhaps uninstalling and re-installing the module may help. Take special care that all the files go into the right folders.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Jul 2012, 10:00 AM
#4
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

thanks for your help

the language file it's ok

I take permission language file at 755 or 777 but i have this file debug


[18-Jul-2012 10:56:46] PHP Warning: move_uploaded_file(/var/www/vhosts/surgical.it/httpdocs/images/medium/adattatore vaporizzatore isofluorano_01_MED.jpg): failed to open stream: Permission denied in /var/www/vhosts/surgical.it/httpdocs/back/includes/ih_manager.php on line 213
[18-Jul-2012 10:56:46] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phphbExEM' to '/var/www/vhosts/surgical.it/httpdocs/images/medium/adattatore vaporizzatore isofluorano_01_MED.jpg' in /var/www/vhosts/surgical.it/httpdocs/back/includes/ih_manager.php on line 213

18 Jul 2012, 10:46 AM
#5
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

also I few weeks ago I used the module and it worked perfectly, then I noticed that every 4-5 images gave this error, and now gives the error for all uploads ...

18 Jul 2012, 12:44 PM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ih3 manager - problem

favjola:

the language file it's ok

The errors "TEXT_MSG_NOUPLOAD_MEDIUM & TEXT_MSG_NOUPLOAD_LARGE" are caused by missing 'defines', which will occur if you are missing the IH3 language file (or if the permissions are preventing it from being read).

favjola:

I take permission language file at 755 or 777 but i have this file debug


[18-Jul-2012 10:56:46] PHP Warning: move_uploaded_file(/var/www/vhosts/surgical.it/httpdocs/images/medium/adattatore vaporizzatore isofluorano_01_MED.jpg): failed to open stream: Permission denied in /var/www/vhosts/surgical.it/httpdocs/back/includes/ih_manager.php on line 213
[18-Jul-2012 10:56:46] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phphbExEM' to '/var/www/vhosts/surgical.it/httpdocs/images/medium/adattatore vaporizzatore isofluorano_01_MED.jpg' in /var/www/vhosts/surgical.it/httpdocs/back/includes/ih_manager.php on line 213

This is the exact same error that you said you had before you "make permission folder images/medium + images/large at 755".

If find it hard to accept that changing the permission of the language file would cause the exact same permission error message as changing the permissions on the images/* folders.

Please answer the question in my previous post else I cannot be of any help.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Jul 2012, 12:57 PM
#7
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ih3 manager - problem

favjola:

also I few weeks ago I used the module and it worked perfectly

So the question is, who changed what?

favjola:

, then I noticed that every 4-5 images gave this error, and now gives the error for all uploads ...

Was this when it was 'working perfectly' (in other words, a few weeks ago it was working perfectly except for these 4 or 5 errors?) or was it really working perfectly a few weeks ago and it has only been recently you noticed the error with 4 or 5 images and it has just got worse from there?

When did the problem first start? Who changed what?

"No one changed anything" is not a valid answer. Software doesn't fail due to time alone. My original thoughts were 'installation problem', but your current comments now lead me to believe this is not the case so we need to figure out who changed what that has caused things to fail.

Cheers
Rod

ps. I've just noticed that the images you are trying to upload have spaces in their filenames. Try using an image without spaces in the name because these will cause problems.

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Jul 2012, 2:03 PM
#8
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

the only language file that is in my source is

back (admin) / includes / languages ​​/ italian / extra_definition / bmz_images_handler.php

you mean this for language files?

18 Jul 2012, 2:21 PM
#9
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

RodG:

Other than these errors, do the uploads work ok with these file permissions?

No , changed permission of file, the upload not work ok!!

18 Jul 2012, 2:37 PM
#10
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ih3 manager - problem

favjola:

No , changed permission of file, the upload not work ok!!

OK, so when you "make permission folder images/medium + images/large at 755" are you getting this:

"TEXT_MSG_NOUPLOAD_MEDIUM
TEXT_MSG_NOUPLOAD_LARGE"

AND the error log reading:

"[18-Jul-2012 10:56:46] PHP Warning: move_uploaded_file(/var/www/vhosts/surgical.it/httpdocs/images/medium/adattatore vaporizzatore isofluorano_01_MED.jpg): failed to open stream: Permission denied in /var/www/vhosts/surgical.it/httpdocs/back/includes/ih_manager.php on line 213
[18-Jul-2012 10:56:46] PHP Warning: move_uploaded_file(): Unable to move '/tmp/phphbExEM' to '/var/www/vhosts/surgical.it/httpdocs/images/medium/adattatore vaporizzatore isofluorano_01_MED.jpg' in /var/www/vhosts/surgical.it/httpdocs/back/includes/ih_manager.php on line 213"

And when you make the folder permission back to what it was originally do you get only these error logs and the "TEXT_MSG_NOUPLOAD_MEDIUM
TEXT_MSG_NOUPLOAD_LARGE" goes away?

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Jul 2012, 2:55 PM
#11
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: ih3 manager - problem

favjola:

the only language file that is in my source is

back (admin) / includes / languages ​​/ italian / extra_definition / bmz_images_handler.php

you mean this for language files?

Maybe.
does this file contain something like

define('TEXT_MSG_NOUPLOAD_MEDIUM', 'text to be displayed') ;
define('TEXT_MSG_NOUPLOAD_LARGE', 'text to be displayed') ;

If so then it is the correct file for the italian language. If your cart is using english then you'll need to place a copy of this file into
back (admin) / includes / languages ​​/ ENGLISH / extra_definition / bmz_images_handler.php

As per my earlier reply though, this will NOT have any effect on your upload permissions problem. You apparently do have two different problems and it seems to me you are trying to fix both at the same time without really understanding what your changes are actually doing (or more mysteriously, what they are not doing.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

18 Jul 2012, 3:49 PM
#12
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

ok

i replace

define('TEXT_MSG_NOUPLOAD_MEDIUM', 'text to be displayed') ;
define('TEXT_MSG_NOUPLOAD_LARGE', 'text to be displayed') ;

now changed the error text in "my text displayed"

but no upload the file image...

the permission the file langunage and the folder image it's a 755

and the error screenshot

text"'text to be displayed'"

and the file debug are conteporary.....

the file image not upload!!

18 Jul 2012, 4:05 PM
#13
favjola avatar

favjola

New Zenner

Join Date:
Aug 2011
Posts:
34
Plugin Contributions:
0

Re: ih3 manager - problem

if i make the folder images a 777

the system displayed " image upload successfull"

baut i have this error in page admin


Error!

Unable to determine the page link!

Function used:

zen_href_link('', '', 'NONSSL')


and the file not upload