img not converting gif to jpg

sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Wed, 2005-06-08 20:55

i get img to upload just fine but the img will not show up...only as broken link. my view/source reveals that the page is searching for:
http://www.mysite.com/home/public_html/pics/gallery/album01/cod.jpg

but the img was actually uploaded to:
http://www.mysite.com/home/public_html/pics/gallery/album01/cod.gif

cant figure out what needs to be changed? any help would b appreciated!

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version: 1.5
Apache version: not sure????
PHP version (don't just say PHP 4, please): 4.3.11
Graphics Toolkit: netpbm - latest version on this site (linux-intel)
Operating system: linux
Web browser/version (if applicable):

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2005-06-08 21:51

Thats strange! Real url?

 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Thu, 2005-06-09 03:53

http://www.strikecrew.com/modules/gallery/

no gallery button up yet so have to direct connect to module.

thanks 4 ur help!@ :D

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2005-06-09 12:05

Actually, this just looks like a case of a bad albums URL.

I think you should be specifying http://www.strikecrew.com/modules/gallery/albums on step 2 of the configuration wizard, not what you have now.

 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Thu, 2005-06-09 17:31

ok i think that fixed it...thanks. i had my albums folder in a different place so i just created new one in my gallery folder and that should work. however, now i cannot log in as admin anymore??? i didnt touch the change pw and cant figure out why its doing this....this program is frustrating me :-?

what .php can i ftp to set the admin pw? or how do i reset it? i looked at the config.php and couldnt find it there?

thanks for the help m8's

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2005-06-09 17:43
 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Thu, 2005-06-09 17:59

"Create a file named

resetadmin
in your /gallery/setup directory."

does anyone know what kind of file? .php .ini .inc

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2005-06-09 18:13

No extension, just resetadmin

 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Thu, 2005-06-09 18:16

wow i guess i am just plain stupid...how do u create a file without an ext?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Thu, 2005-06-09 18:19

You should be able to just rename it in Explorer, though you may need to enable the option to show all file extensions.

 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Thu, 2005-06-09 19:18

easier to just reinstall :lol:

 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Fri, 2005-06-10 00:54

this is really wierd. everything is working right and i have the paths correct. now even the source is pointing to the correct path to the img but it is still showing a broken img?????

i even try to put this url into browser and get error page:

http://www.strikecrew.com/public_html/modules/gallery/albums/album01/airplane.jpg

i just do copy url from my ftp program!

any other ideas would b appreciated :-?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2005-06-10 03:09

You can't do that. FTP paths are different from WWW paths (technical people, just leave it at that ;-))

Your albums directory is probably more like http://www.strikecrew.com/modules/gallery/albums (without the public_html)

 
sully
sully's picture

Joined: 2005-06-08
Posts: 8
Posted: Fri, 2005-06-10 03:29

woot...that got it. i new it was something simple! i dont know y i didnt see that from the 1st...i am some what of a noob but didnt think i was taht bad :lol:

thanks guys 4 your help
sully - out

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Fri, 2005-06-10 03:41

No prob.