Images not displaying after importing Database

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
sem
Posts: 1
Joined: Thu Aug 10, 2023 7:22 am

Images not displaying after importing Database

Post by sem »

Hello,

I have been using phpMyFAQ 3.0 for a while and have wanted to update to phpMyFAQ 4.0.

Originally I tried to do an update, but after following everything in the docs exactly, it still gave me lots of errors and did not work at all. That is why I decided to do a fresh install and move the database. I created a new subdomain and installed 4.0 on it. After that, I imported all of the compatible database tables and moved over all of my attachments as well as the images.

For some reason, images are not being displayed on any FAQ, but they still show up in the editor. Some attachments are also linked wrong - when I try to download them, they are usually only a few bites large.

Where could I start looking? I do not have much experience with php.

I apologise for the rather dumb question and thank you for your patience.
Thorsten
Posts: 15799
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Images not displaying after importing Database

Post by Thorsten »

Hi,

did you ran the update?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
NovaRush
Posts: 1
Joined: Sat Jul 26, 2025 4:07 am
Location: https://colorrush.org
Contact:

Re: Images not displaying after importing Database

Post by NovaRush »

sem wrote: Wed Mar 12, 2025 4:46 pm Hello,

I have been using phpMyFAQ 3.0 for a while and have wanted to update to phpMyFAQ 4.0.

Originally I tried to do an update, but after following everything in the docs exactly, it still gave me lots of errors and did not work at all. That is why I decided to do a fresh install and move the database. I created a new subdomain and installed 4.0 on it. After that, I imported all of the compatible database tables and moved over all of my attachments as well as the images.

For some reason, images are not being displayed on any FAQ, but they still show up in the editor. Some attachments are also linked wrong - when I try to download them, they are usually only a few bites large.

Where could I start looking? I do not have much experience with php.

I apologise for the rather dumb question and thank you for your patience. color rush game
You're not alone—I ran into the exact same issue after a fresh install of phpMyFAQ 4.0. The images showed up in the editor but not on the live FAQs, and some attachments were broken or super small. For me, the fix was double-checking the file paths in the config and ensuring the /attachments and /images folders had the correct permissions and were correctly referenced in the database. Also had to clear the cache.
Thorsten
Posts: 15799
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Images not displaying after importing Database

Post by Thorsten »

Hi,

is it working now?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
davisjame
Posts: 2
Joined: Fri Oct 04, 2024 8:00 am

Re: Images not displaying after importing Database

Post by davisjame »

No worries, that's not a dumb question! Here are a few things to check:
Image Paths: Ensure the image paths in your database are correct and point to the right location on your server.
Permissions: Check the permissions of the folder containing the images to make sure the web server can access them.
phpMyFAQ Configuration: Verify the settings in phpMyFAQ to ensure it’s pointing to the correct attachment and image paths.
Error Logs: Look at your server's error logs for any messages related to image loading or attachments.
slope game 2
Post Reply