Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Comment out error message - is possible ?????

  • 3dmaximus
  • 3dmaximus's Avatar Topic Author
  • Offline
  • New Member
More
15 years 9 months ago #22114 by 3dmaximus
We purchased your Simple Image Gallery PRO \

we are getting a warning message from the server says we don't have the permissions to create a file inside the temp folder

error says

Warning: imagejpeg() [function.imagejpeg]: Unable to open 'public_html/images/stories/temp/8a75315b589a24a3f672c6f0f86af109.jpg' for writing: Permission denied in /home/newsite/public_html/plugins/content/jwsigpro/sigpro_engine.php on line 40


the temp folder is chmoded to 777, in fact we even chmoded all images folders to that also

but error message is still there.

But the thumbs were created!  and are showing on the site ok

we can see the thumbs OK !

we have emptied the all folder and the temp folder and run the gallery again


Can you just tell us how to MUTE the Error message..

I tried to comment out lines 41 42 43 on  sigpro_engine.php

the error message is gone, but now the script does not create thumbnails  :(

I just want to take out the error message

is that possible ?

Look forward to hearing from you soon

Best Regards,
3dmaximus

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 9 months ago #22115 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Comment out error message - is possible ?????
Hi there!

Hmmm... Did you change the folder's permission using the FTP user of the Apache user?
Try to mute this command in the file sigpro_engine.php
Mute the lines 42 and 46
$res = @ImageJPEG($im,$filename,$this->quality);
$res = @ImageJPEG($im,'',$this->quality);

If doesn't work PM me a direct link to the gallery and an FTP account to the folder of sig pro.

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • 3dmaximus
  • 3dmaximus's Avatar Topic Author
  • Offline
  • New Member
More
15 years 8 months ago - 15 years 8 months ago #22116 by 3dmaximus
Thanks for FAST REPLY !

question what do you mean by "mute lines 42 and 46" ?


there is nothing in those lines you mention

attached is engine.php


line 42 is   blank
line 43 has:    $res = null;
line 44 is   blank
line 45 is   blank
line 46 is   blank


see :


function SaveImage($im, $filename) {



    $res = null;



    // ImageGIF is not included into some GD2 releases, so it might not work.

    // Output png if gifs are not supported.a


YOU HAVE GREAT TECH SUPPORT


LOOK FORWARD TO HEARING FROM YOU..

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
15 years 8 months ago #22117 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Comment out error message - is possible ?????
Hi again!

Probably you downloaded the file from your server without binary mode
and for that we have all those extra white lines!

Don't worry, the file is also functional as it is.

In your file, the lines are 79 and 87.

Check it out and report me any other issue!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #22118 by JoomlaWorks
Replied by JoomlaWorks on topic Re: Comment out error message - is possible ?????
Please login the latest v2 from our PDS system.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum