 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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 ....
|
| |
March 22nd, 2006, 11:18 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Where are you moving from using what area?
|
| |
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 ...
|
| |
March 22nd, 2006, 12:31 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
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.
|
| |
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 |
| |
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// |
| |
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 ...
|
| |
March 22nd, 2006, 01:07 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
You can PM me a url and admin login and what cats you mean and I can try and poke around.
|
| |
March 22nd, 2006, 01:19 PM
|
#9 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 36
|
I sent you the PM !
|
| |
March 22nd, 2006, 01:30 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
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.
|
| |
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.
|
| |
March 22nd, 2006, 01:47 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
Okay in admin turn on DISPLAY ERRORS and lets see what happens
|
| |
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
|
| |
March 22nd, 2006, 01:52 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Mar 2006
Posts: 36
|
I use the pp_ prefix ....
|
| |
March 22nd, 2006, 01:57 PM
|
#15 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,687
|
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.
|
| |
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 ?
|
| |
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
|
| |
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...
|
| |
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 |
| |
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 !
|
| | |
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 06:09 PM. | |