holes in my gallery

87 views
Skip to first unread message

Whiskerfish1

unread,
Jan 1, 2025, 6:50:30 PMJan 1
to gallery...@googlegroups.com, Jeffrey Bozeman
Hello everyone!  

Out of the blue there are entire sections in my Gallery not showing up  Gallery is here  https://ngwclub.com/gallery3/

The folders and the pictures act like they are present.  You can go into the folders and navigate but no pictures show up. I can add a photo and it does display properly.   I ran "fix your gallery" and "rebuild photos" but it did not fix anything. To the best of my knowledge nothing has changed on the installation or the server. 

Would appreciate any idea where to go next

Steve

Virus-free.www.avg.com

J.R.

unread,
Jan 1, 2025, 7:19:15 PMJan 1
to gallery...@googlegroups.com
Steve,

I never heard of this kind of behavior before, but all I can think of is that somehow in those sections the gallery software is not recognizing the file type, like "myphoto.jpg" and so doesn't know how to display it. Check the actual photo files in the /var folder and see if they still have their .type extensions intact. If that's not it then the indication is that somehow the links that is in the database which direct the system to where each individual image is located has somehow been corrupted or even deleted. How that would happen I have no idea. If this is a recent development -- and you have some way of reverting to an earlier copy of your galley -- you could try doing that and see if the images reappear.

-- J.R.
--
WHEN USING AN EMAIL PROGRAM to reply to this message, click REPLY TO LIST or REPLY TO ALL so your reply goes out to everyone in the group. If you click REPLY or REPLY TO SENDER Google will *only* send your reply to the original author (not recommended).
 
To post a NEW MESSAGE to the group, send an new email to:
gallery...@googlegroups.com
 
To view or sign in to this group on the web, use this URL:
https://groups.google.com/forum/#!forum/gallery-3-users
---
You received this message because you are subscribed to the Google Groups "Gallery 3 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gallery-3-use...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/gallery-3-users/CAD%2B_m%3Dxv%2BPXYn_TfPRWOVrhey%2B7Cnf-4v9feHw6nwC1G5xVjSQ%40mail.gmail.com.

mikt...@hotmail.com

unread,
Jan 2, 2025, 4:56:20 AMJan 2
to Gallery 3 Users
Steve,

I just went to your gallery and all I got was a login box, check your permissions on the gallery to see if they have changed to "registered users" I have a few restricted albums used for hiding temporary files that the public don't need to see and often things do not show in them even though they are actually there. I haver not figured out the reasoning yet

Tony

8300usn

unread,
Jan 2, 2025, 7:24:59 AMJan 2
to gallery...@googlegroups.com, Fredc...@gmail.com

Thanks guys will report back in a couple hours. 
Steve


Sent from my Galaxy

Whiskerfish1

unread,
Jan 2, 2025, 9:42:08 AMJan 2
to gallery...@googlegroups.com
Okay wild.  I just adjusted permissions so a guest could view pictures and everything is working again.  I do not understand that.  I was logged in as admin but could not see them.  Now everything appears to be working as it should.  I can see all the pictures if I am logged in or not. 

Another question.  Is there a backup program for Gallery?  I do a monthly FTP of my site and that includes the gallery but is there a better method?  

Thanks
Steve  



 

Virus-free.www.avg.com

David and Jackie Armstrong

unread,
Jan 2, 2025, 9:59:42 AMJan 2
to gallery...@googlegroups.com
I don't believe there is a backup module for Gallery 3, but if you have Cpanel access with your hosting company there are other options.

The main things you want to backup are the folders and files (which you are doing via FTP) and the database (which FTP will miss). If you have access to Cpanel you can export the entire database via phpmyadmin. The hosting company I use (x10hosting.com) provides Acronis Backup which does daily backups (4/day for a couple of days, then daily for a week then less frequently) of both the files and database, so I tend to use this for restoring and also for downloading to local storage.

David Armstrong.

Whiskerfish1

unread,
Jan 2, 2025, 10:52:12 AMJan 2
to gallery...@googlegroups.com, Jeffrey Bozeman
I recently switched servers and Dreamhost does not do Cpanel.  They have their own management program.  I do have visibility of the databases but will have to see if I can do a individual backup of them.  If so I will have to add that to my monthly FTP schedule.  I have not seen any indication of acronis availability.  I know I had it with Leaseweb but their pricing got stupid so I switched.   

Thanks
Steve

Virus-free.www.avg.com

David and Jackie Armstrong

unread,
Jan 2, 2025, 11:14:47 AMJan 2
to gallery...@googlegroups.com
Dreamhost shows how to backup individual databases via phpmyadmin in their web pages, including videos.

Regards,

David Armstrong.

Adrian London

unread,
Jan 2, 2025, 11:47:37 AMJan 2
to Gallery 3 Users
I found and modified some PHP code to do a backup.  If you want your photos backed up too, remove the exclusion for var/albums.

Stick it in the root directory of your G3 installation.
Disclaimer: works in my environment; no other guarantees 😁

--
Adrian


g3backup.php

Adrian London

unread,
Jan 2, 2025, 11:51:45 AMJan 2
to gallery...@googlegroups.com
The php file above backs up the code.

I use phpMyAdmin (provided by my host provider) for backing up the database, although in all the years I’ve been using G3 the only time I’ve needed to ever do a database restore was to restore individual tables I thought weren’t used and manually deleted ;)


Adrian


Whiskerfish1

unread,
Jan 2, 2025, 6:53:47 PMJan 2
to gallery...@googlegroups.com
Thank you. Pretty sure I can figure it out via phpMyAdmin.  May not ever need it like you said but just sleep better with a copy. 

Steve

Virus-free.www.avg.com

--
WHEN USING AN EMAIL PROGRAM to reply to this message, click REPLY TO LIST or REPLY TO ALL so your reply goes out to everyone in the group.  If you click REPLY or REPLY TO SENDER Google will *only* send your reply to the original author (not recommended).

To post a NEW MESSAGE to the group, send an new email to:
gallery...@googlegroups.com

To view or sign in to this group on the web, use this URL:
https://groups.google.com/forum/#!forum/gallery-3-users
---
You received this message because you are subscribed to the Google Groups "Gallery 3 Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gallery-3-use...@googlegroups.com.

Whiskerfish1

unread,
Jan 2, 2025, 6:54:21 PMJan 2
to gallery...@googlegroups.com

J.R.

unread,
Jan 3, 2025, 4:29:27 PMJan 3
to gallery...@googlegroups.com
Steve,

Ah... that's unfortunate. I always insist on using a host provider  which provides Cpanel access. In the 30 years of hosting on many different providers Cpanel has saved my bacon more times that I care to remember. Honestly, I don't see how any hosting company that "rolls its own" management system can possibly do as good a job as the venerable, time-tested and regularly upgraded Cpanel. Probably too late to change to something else now, but for future reference I would urge anyone to think twice.. and then think again... before using a hosting service that did not provide full Cpanel access.

-- J.R.
Reply all
Reply to author
Forward
0 new messages