Announcement

#1 2002-10-22 18:06:30

tdr013
Member
Atlanta
2002-10-22
15

Need help getting scrip to run

I can get to the admin page I created the database, I placed the pictures in a directury (Firstrem) and I placed the thumbnails in a subdirectury of the (Firstrem) (thumbnail).  I folled the instructions to update the database and this is what I get:
the thumbnail is missing for ../galleries/Firstrem/Billy Richards_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Group Picture_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000365_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000366_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000367_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000368_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000369_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000370_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000371_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000372_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000373_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000374_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000375_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000376_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000377_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000378_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000379_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000380_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000381_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000382_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000383_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/IM000384_JPG.jpg
the thumbnail is missing for ../galleries/Firstrem/Meeting 1_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Meeting 2_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 024_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 025_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 026_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 027_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 031_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 039_jpg.jpg
the thumbnail is missing for ../galleries/Firstrem/Picture 041_jpg.jpg

0 pictures added to the database 
What is the problem?  On my server I have to access the database with the root name included (myroot_photos) and also for the user name and the password samething....


This is the Day the LORD has made

Offline

 

#2 2002-10-22 18:10:45

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13795

Re: Need help getting scrip to run

hi,
the pb comes from the fact that your thumbnails don't have the correct prefix. You can modify the default prefix for thumbnails in the configuration section.

Offline

 

#3 2002-10-22 18:13:11

tdr013
Member
Atlanta
2002-10-22
15

Re: Need help getting scrip to run

What is correct can you explain?


This is the Day the LORD has made

Offline

 

#4 2002-10-22 18:15:52

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13795

Re: Need help getting scrip to run

ok,
if you have "Firstrem/IM000370_JPG.jpg" you must also have "Firstrem/thumbnail/TN-IM000370_JPG.jpg"
you can modify TN- by anything you want in the configuration section.

Offline

 

#5 2002-10-22 18:19:45

tdr013
Member
Atlanta
2002-10-22
15

Re: Need help getting scrip to run

ok are you saying to rename the files to, 
"Firstrem/thumbnail/TN-IM000370_JPG.jpg" 

and what can I  modify TN-  in the configuration section. 
Please give my an example because I really love this script and I want to use it on my web sites..

Thanks :rolleyes:  :oops:


This is the Day the LORD has made

Offline

 

#6 2002-10-22 18:21:46

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13795

Re: Need help getting scrip to run

you can modify this, go to the configuration section in the administration panel (first option in the menu of the administration panel, sorry, I can't be more precise !)
It is the third option on this page.
replace "TN-" by nothing.

Offline

 

#7 2002-10-22 18:31:06

tdr013
Member
Atlanta
2002-10-22
15

Re: Need help getting scrip to run

Warning: The argument to array_sum() should be an array in /home/marta/public_html/gallery/admin/thumbnail.php on line 368

Warning: The argument to array_sum() should be an array in /home/marta/public_html/gallery/admin/thumbnail.php on line 264

Warning: Division by zero in /home/marta/public_html/gallery/admin/thumbnail.php on line 264
What do I do now I removed th -TN to (nothing) 
I really need for this to work.  What do I do next?


This is the Day the LORD has made

Offline

 

#8 2002-10-22 18:34:17

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13795

Re: Need help getting scrip to run

this is a bug on the page to create the thumbnails when there are thumbnails missing
go simply to the update section in the administration pannel as you did at the beginning (you can also take a little look at the help section, very well made and quite understandable :D)

Offline

 

#9 2002-10-22 18:48:45

tdr013
Member
Atlanta
2002-10-22
15

Re: Need help getting scrip to run

Thank you for your help it now works this program is a blessing.
Thank YOU  :rolleyes:  ;)  ;)  ;)  :D  :D  :D  :D  :D  :D  :D  :D 
NOw I just need to learn how to make the pictures larger
Thank again You are the greatest..... :D


This is the Day the LORD has made

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact