4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Vb2-Fan on July 26, 2002, 12:46:08 PM
-
Hi all..
i recently moved to another hosting server...
i dumbed the DB and restored it with PHPMYADMIN normally with no errors.
aslo moved the whole directory and made the CHMOD stuff to the files..
but the gallery went very very slow ...
the main site is working very fast , i have a VB2 forum running php and gzip ( level 1 comp.) and working just fine..
the 4images is aslo using (Gzip level 1 comp) but it's very slow...
another thing... the Admin panel working fast asn normall...
but the main gallery is not...
i haven't changed any thing in the script after the moving...
any help please ?
-
Can you give us a URL?
Greets Jan
-
I had the same problem with the gallery, my server is very fast and with 30GB of B. but the problem was on the random image, with more that 1000 files and 900 members this was really the best solution to remove the random image. Now all run very fast as the rest of the website.
-
As I have seen in the code is that the random image gets picked through an sql statement. (correct me if I am wrong Jan). Maybe there is a faster way to get a random image in PHP Code.
I have some experience with that when I wrote a module for the PHPNuke cms package. Maybe I can try to use a piece of that code...
-
Yes, "inspirations" are always welcome!
Greets Jan
-
hi guys..
guess what was the damn problem...
it's the "config.php", had a balnk lines at the end of the file :oops:
i removed them and every thing went smoth normal and ---F-A-S-T
many thanks to Jan and his effort with me via the PMs ...
regards.
-
do you mean this least ?
//define('4IMAGES_ACTIVE', 1);
to
define('4IMAGES_ACTIVE', 1);
if well I made this already 2 weeks ago, my gallery is very fast.
Now I have only "slow" problem with the forum, I use the same that thise but is so slow on my website.