 | |  | | | Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here. |
August 2nd, 2005, 06:59 AM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
| Catagory watermark error(FIXED)
I am attempting to change the setting of the watermarking options for each catagory. At the very bottom you can select which USER Groups photos should be overlayed.
When I attempt to select all the groups except for my paid members I get the following error.
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT parent FROM xlpp_categories WHERE id=
Result: You have an error in your SQL syntax near '' at line 1
Database handle: Resource id #8
Any help with this problem will be greatly appreciated.
Last edited by bplinson; August 2nd, 2005 at 07:36 AM.
|
| |
August 3rd, 2005, 01:29 AM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Help!!!! Tech Support!!!  .
Is there no one here with an idea on how to fix this?
|
| |
August 3rd, 2005, 10:40 AM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,937
|
Well if you had a line number it surely would help as I dont get an error. There has been one error reported and fixed here with admin category editor concerning members gallery edit but you can try this. If you dont have it in the file add the code in bold
if ( $oldparent != $newparent ) {
updateparents($oldparent); if ( is_numeric($newparent) && !empty($newparent) ) updateparents($newparent);
}
|
| |
August 3rd, 2005, 11:23 AM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Here is the whole error. I thought I had it in the first post.
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Script:
Query: SELECT parent FROM xlpp_categories WHERE id=
Result: You have an error in your SQL syntax near '' at line 1
Database handle: Resource id #8
|
| |
August 3rd, 2005, 11:24 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
| Quote: |
Originally Posted by omegatron Well if you had a line number it surely would help as I dont get an error. There has been one error reported and fixed here with admin category editor concerning members gallery edit but you can try this. If you dont have it in the file add the code in bold
if ( $oldparent != $newparent ) {
updateparents($oldparent); if ( is_numeric($newparent) && !empty($newparent) ) updateparents($newparent);
} |
Do I do this in the adm-cats.php file?
|
| |
August 3rd, 2005, 11:31 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Okay. I added that line to the adm-cats.php file and no longer get the error but the watermark is still showing up on images of usergroups that are not suppose to have them.
TheURL to my gallery is: http://xlforum.net/photopost/showgal...user=1&cat=500
and there should not be watermarks on my images but there are.
|
| |
August 3rd, 2005, 11:47 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,937
|
The watermarks will show up for usergroups that dont have them if they are already permanently marked. You cant go back and unwatermark a file if its a permanent watermark. Thats how permanent watermarks work meaning future pictures will not be watermarked if using permanent watermarking
Now globals on the fly is a global setting which means it will watermark EVERY file since it has nothing to do with permanent watermarks which use the bypass switch's etc
|
| |
August 3rd, 2005, 11:54 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Thanks, I will give it a try.
|
| |
August 3rd, 2005, 11:58 AM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
| Quote: |
Originally Posted by omegatron Now globals on the fly is a global setting which means it will watermark EVERY file since it has nothing to do with permanent watermarks which use the bypass switch's etc | So to how do I disabel the global watermark setting.
Currently I have it set to:
Enable on-the-fly image protection - YES
and
When using on-the-fly image generation, do you want to overlay the watermark image? - Yes
Should I set these both to NO and if I do do I only set up the watermarking option in the EDIT Categories?
|
| |
August 3rd, 2005, 12:03 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,937
|
Well the second one you set to NO
When using on-the-fly image generation, do you want to overlay the watermark image? - Yes
You can then turn on permanent watermarking which users the catperms of who does and does not get images watermarked
|
| |
August 3rd, 2005, 12:10 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Still not working. You want admin privs to go in and take a look? I can PM you credentials.
|
| |
August 3rd, 2005, 12:14 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,937
|
what do you mean its not working this would help you can PM credentials
|
| |
August 3rd, 2005, 12:26 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
PM sent
|
| |
August 3rd, 2005, 12:32 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,937
|
Yep I think you have have misunderstood the multiple usergroup thing. If a user belongs to two groups and one is watermarked one is not then the best scenerio is chosen meaning his images are not watermarked
Using the ID you provided I uploaded a picture and my image is not watermarked as you have set http://xlforum.net/photopost/showpho...o=3011&cat=500 |
| |
August 3rd, 2005, 12:32 PM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Seems to be KINDA working now but it is hit and miss and is also watermarking some of the the usergroups that I did not want watermarked. Do secondary usergroups play into this at all?
Also will I need to run the SCAN DATABASE utility everytime I want to watermark the new images?
|
| |
August 3rd, 2005, 12:34 PM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,937
|
I think I answered the secondary group thing above as this is where the confusion lies I beleive
No you do not run a scan database everytime you want to rebuild watermarks
|
| |
August 3rd, 2005, 12:39 PM
|
#17 (permalink)
| | Member Verified Customer
Join Date: Nov 2004
Posts: 100
|
Thanks for all your help I guess I will play around with this a little more.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:46 AM. | |