PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 22nd, 2006, 11:15 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
Moving images ....

...from one category to another doesn´t work . I alway get this error :
/home/httpd/vhosts/emuenzen.de/httpdocs/galerie/data// -> /home/httpd/vhosts/emuenzen.de/httpdocs/galerie/data/501/
Copy of the file failed. Operation cancelled.

"Warnung: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/emuenzen.de/httpdocs/galerie/pp-inc.php (Zeile 2667)
"

It is a fresh 5.3 installation ....

I double checked the chmod and file path ....
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 11:18 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
Where are you moving from using what area?
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 22nd, 2006, 12:17 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
I want to move an images from the main category to a sub-category ...
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 12:31 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
Well there is your issue. If you changed a category you uploaded a photo to a parent category that contains no thumbs ( which means it can not contain images ) I can see this happening.

You would have to temporarily change this category back in Admin => edit categories to contains thumbs set to yes and move all photos out of it then you can then reset it to contains thumbs no.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 22nd, 2006, 12:44 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
Quote:
Originally Posted by Chuck S
Well there is your issue. If you changed a category you uploaded a photo to a parent category that contains no thumbs ( which means it can not contain images ) I can see this happening.

You would have to temporarily change this category back in Admin => edit categories to contains thumbs set to yes and move all photos out of it then you can then reset it to contains thumbs no.
... I tried this out but the error is still present ... my gallery is her :
www.emuenzen.de/galerie
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 12:49 PM   #6 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
I think the error is here:
/home/httpd/vhosts/emuenzen.de/httpdocs/galerie/data//
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 12:57 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
Now I found out that I cannot delete images .... Photopost tell me, that it deleted the image - but it can still be viewed . There seem to be a bigger problem with my installation ...
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 01:07 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
You can PM me a url and admin login and what cats you mean and I can try and poke around.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 22nd, 2006, 01:19 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
I sent you the PM !
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 01:30 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
Well what have you dont to your install recently?

Trying to understand the issue as the reason it does not work is a query is failing on your install now what is line 2667 of pp-inc.php for you

In my Photopost it is this

Code:
Content visible to verified customers only.
Try downloading the code and updating all the files except the config files and lets go from there.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 22nd, 2006, 01:41 PM   #11 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
Quote:
Originally Posted by Chuck S
Well what have you dont to your install recently?

Trying to understand the issue as the reason it does not work is a query is failing on your install now what is line 2667 of pp-inc.php for you

In my Photopost it is this

Code:
Content visible to verified customers only.
Try downloading the code and updating all the files except the config files and lets go from there.
This is exactly the line in my installation
I did not change a thing after installing photopost .(I only tried some chown and chmods on the data and uploads DIR ... )

Last edited by Tobias Honscha; March 22nd, 2006 at 01:44 PM.
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 01:47 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
Okay in admin turn on DISPLAY ERRORS and lets see what happens
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 22nd, 2006, 01:50 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: UPDATE photos SET views=views+1 WHERE id=16

Result: Table 'photopost.photos' doesn't exist

Database handle: Resource id #25
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 01:52 PM   #14 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
I use the pp_ prefix ....
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 01:57 PM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,656
We need to understand here the true nature of your issue as this is nothing I can reproduce in Photopost

In showphoto as example you use the catmove box we pass to the adm-photo script the $catmove variable and the $pid variable and then this passes that to the function in pp-inc.php to move the image

move_image_cat( $pid, $catmove );

We then go to that function and use $pid to get the pictures cat variable and define it as $pcat

So something is missing here on your install and making the query fail and we need to find out what.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old March 22nd, 2006, 02:03 PM   #16 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
in the forum integration config-file the pp_ prefix was not set , could this be the reason ?
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 02:05 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
please have a look at my gallery again - I enabled the error - output ... if you view a single image you will get this error also:

We're sorry, but the system experienced an unrecoverable error. Please try again later.

Script:

Query: UPDATE photos SET views=views+1 WHERE id=15

Result: Table 'photopost.photos' doesn't exist

Database handle: Resource id #25
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 02:18 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
now I try to rename all tables into names without prefix and after that changing both config files to none prefeix...
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 02:23 PM   #19 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
Quote:
Originally Posted by Tobias Honscha
now I try to rename all tables into names without prefix and after that changing both config files to none prefeix...
Ok ... showing a single image works
Tobias Honscha is offline   Reply With Quote
Old March 22nd, 2006, 02:27 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 36
but deleting images does not work ... **** . Ok I will try re-uploading all the files again !
Tobias Honscha is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving images MotoUp How Do I? - vBulletin 3.5.X 2 April 7th, 2006 08:59 PM
Moving images between categories. Not possible. AlfonsoC Installs and Upgrade - vBulletin 3.0.X 2 February 1st, 2005 12:21 AM
Moving Images between Cats schford How Do I? - vBulletin 3.0.X 2 January 30th, 2005 10:10 AM
Moving Images to Other Categories oldengine vBGallery Suggestions 5 January 17th, 2005 10:31 PM
Moving Images From Categories dieselpowered Installs and Upgrade - vBulletin 3.0.X 6 December 23rd, 2004 10:20 PM


All times are GMT -5. The time now is 08:30 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0