chuck,
i've managed to cut some time and tried with fresh install, and fresh ppc downloaded. unfortunately, i guess i've confirmed the bug, see below how to reproduce:
Code:
Content visible to verified customers only.
in phpmyadmin:
MySQL - 4.1.20-standard-log
created database pptest collation latin1_general_ci
added user pptest with pass testpp and host "localhost"
did give it some privileges on the database:
GRANT SELECT , INSERT , UPDATE , DELETE , CREATE , DROP , INDEX , ALTER , CREATE TEMPORARY TABLES ON `pptest` . * TO
'pptest'@'localhost';
and started with the install.
Quote:
Welcome to the PhotoPost Classifieds Installation console!
You are only minutes away from having PhotoPost Classifieds up and running on your server. This installation will take you through a few steps
to get everything configured and running smoothly. Make sure to take the time to verify your settings so that once installation is complete, you
will be ready to launch PhotoPost!
The next step will test your server to ensure that it has the necessary modules installed to run PhotoPost Classifieds and it will also set up your
database for use.
Click here to start a fresh install -->
|
et cetera, i do have screenshots of all steps.
after the install:
Code:
Content visible to verified customers only.
then, created a second sub-category of the default Main category, called 'test' with default options, just pressed the button, acepting the options.
in phpmyadmin added lock table privilege, just to make it easier to dump sql.
------
REVOKE ALL PRIVILEGES ON `pptest` . * FROM 'pptest'@'localhost';
GRANT SELECT ,
INSERT ,
UPDATE ,
DELETE ,
CREATE ,
DROP ,
INDEX ,
ALTER ,
CREATE TEMPORARY TABLES ,
LOCK TABLES ON `pptest` . * TO 'pptest'@ 'localhost';
-----------
[root@echo pptest]# mysqldump -u pptest -p pptest >dump0.sql
Enter password:
[root@echo pptest]#
we've prepared 6 images, 3 sets of two images, in 3 different dirs in the user pc, with almost all filenames duplicate, but with different iamge -
text "adp1" "ad1p2" "ad2p1" et cetera:
ad1/photo1.jpg text ad1p1
ad1/photo2.jpg text ad1p2
ad2/photo1.jpg text ad2p1
ad2/photo2.jpg text ad2p2
ad3/photo1.jpg text ad3p1
ad3/photo3.jpg text ad3p2
added ad 1 with two pictures from dir ad1 in the first subcat, dumped and ls -laR:
Code:
Content visible to verified customers only.
added ad #2 in the second subcat and after that:
Code:
Content visible to verified customers only.
everything seems to be ok - ad1 has their two pictures, ad2 - the appopriate for the ad 2 ones.
then, suddenly, we move ad2 from the second subcat to the first subcat. let's make dump and ls -laR
Code:
Content visible to verified customers only.
and now we have some pretty deep **** - in the first cat there are the two ads, but ad number one is shown the pictures from ad number two. ad
number two show correctly.
let's upload ad number 3 - it will have two images, but only the first image will be with the same filename, dump to dump4.sql and ls -laR to
ls-laR4:
Code:
Content visible to verified customers only.
the 3th ad is okay, so let's move it too to the first subcat....
and, suprise!
ad1 now has "ad3 photo1" and "ad2 photo2"
ad2 now has "ad3 photo1" and "ad2 photo2"
ad3 has "ad3 photo1" and "ad3 photo2"
ergo - there is a problem with same filenames.
lets shot it:
Code:
Content visible to verified customers only.
that's all folks.
Chuck, i'm sending you links with the files in PM, they're zipped.
edi.
PS tried on 2 centos machines and one fresh debian. guess you can reproduce the bug in "the lab" now...
PPS
md5sum pp-classifieds25-8-16-06-1-39PM.zip
95e89020e7a3b9b7f2c46f86f3a71213 pp-classifieds25-8-16-06-1-39PM.zip
Quote:
Originally Posted by Chuck S adm-misc.php is the proper file that handles that and since I can not duplicate this I suggest if you want assistance to send server info |