SMFHacks.com

SMF Gallery Lite => SMF Gallery Lite => Topic started by: sanax on January 07, 2007, 04:15:19 am

Title: Gallery doesn't grab pics form database
Post by: sanax on January 07, 2007, 04:15:19 am
I've recently upgraded my smf forum but the pics do not appear in the gallery although it is in the database. It seems if the script doesn't grab the images from the database after the new upgrade?! I have to upload all the images again in order for them to show up in the new upgrade.

Do I miss something? I searched the forum but couldn't find an answer.
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 07, 2007, 08:48:39 am
It should as long as you reinstalled hte gallery and did not change the prefix of your database.
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 07, 2007, 01:37:35 pm
Yes, I installed the gallery and I didn't make any changes but no go... the gallery stays empty and the images remain in the database ( It actually happened twice, first when I upgraded to 1.1.1 and second when I had to re-install a fresh copy. The images were in the backup and load perfectly to the database)
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 03:49:22 pm
I upgraded the second forum and I still have this problem. I changed the paths and the pics are in the database but it refuses to show up!

Any ideas please? What am I doing wrong?
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 11, 2007, 04:05:31 pm
Is it in the same database? Its really hard fo rme to say whats going on.
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 04:42:23 pm
Is it in the same database? Its really hard fo rme to say whats going on.

Yes, it is in the same database. I see only one picture shows up in Firefox though.
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 11, 2007, 04:53:08 pm
So wait then it is showing pictures in the gallery?
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 05:07:40 pm
So wait then it is showing pictures in the gallery?

Yes, only two pics, that's all! lol (these two shows up in Firefox and none in IE) hope this helps. I've checked again, all the pics are in the database smf_gallery_pic

I tried to see why these two pics shows up but couldn't find anything that's different from the rest not showing up
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 11, 2007, 05:41:44 pm
Can I have a link to the gallery? and mabye an admin account.
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 05:58:41 pm
I send a PM

Thanks
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 06:25:55 pm
Here are the files installed by the mod:

Gallery.php (54267 bytes)
smfgallery108.xml (5333 bytes)
Gallery.english.php (7682 bytes)
smfgallery.xml (5743 bytes)
gallery.gif (873 bytes)
Gallery.english-utf8.php (7682 bytes)
galleryinstall.php (2862 bytes)
gallery/placeholder.txt (33 bytes)
Gallery.template.php (79666 bytes)
package-info.xml (1800 bytes)
ReadMe.txt (967 bytes)
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 06:37:42 pm
This weird... both upgarded SMF forums have the same problem. the /gallery/ is empty...

But the forum I installed a fresh 1.1.1 has no problem. All the images in the /gallery/ are visible. I believe the upgrade does something wrong?
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 11, 2007, 06:39:02 pm
The upgrade does not touch the /Gallery/ folder at all.
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 06:43:13 pm
The upgrade does not touch the /Gallery/ folder at all.

ok, how do I get the images to show up in /gallery/ folder?...lol

my paths in the admin settings are correct, I checked that. Is there a way to install it in this folder?
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 11, 2007, 06:46:36 pm
It should be ready to go. That is how it is setup by default. Not sure why the images are not in the folder now.
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 06:53:07 pm
It should be ready to go. That is how it is setup by default. Not sure why the images are not in the folder now.

I checked both placeholder.txt files but they're empty
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 06:59:18 pm
But if the /gallery/ is completely empty, why would we be able to see two images in the gallery?
Title: Re: Gallery doesn't grab pics form database
Post by: SMFHacks on January 11, 2007, 07:06:52 pm
I can't see any image visible.
I would check the settings for the paths in the Gallery configuration.
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 07:21:59 pm
I can't see any image visible.
I would check the settings for the paths in the Gallery configuration.

I checked it, it directs to the /gallery/ folder on both forums
Title: Re: Gallery doesn't grab pics form database
Post by: sanax on January 11, 2007, 07:29:54 pm
I see twi pics in the gallery while using Firefox... I send PM with admin details