PDA

View Full Version : error during copy_folder install


nrivat
10-08-2006, 10:28 PM
I unzipped "Copy Folder with Titles/Descriptions (PP 1.5)" from this link:
http://www.pixelpost.org/v1/index.php?x=downloads&details=143

and just copied the files into my addons folder. Here is what I get:
Fatal error: Cannot redeclare category_list_as_table_noecho() (previously declared in /homepages/33/d163879492/htdocs/addons/copy_folder.php:183) in /homepages/33/d163879492/htdocs/addons/copy_folder_with_titles.php on line 209

any idea?
Thanks

GeoS
10-08-2006, 10:34 PM
Remove one of this addons from server.

Dennis
10-09-2006, 05:37 PM
What GeoS is saying is you have now two copy_folder addons, the original and the modified.

If you want to use the new addon you've just downloaded then remove the copy_folder.php in the addons folder.

Or rename that one to copy_folder.org however I'm not sure if Pixelpost checks for files only with a PHP extension.

Connie
10-09-2006, 06:06 PM
all files in the addon-directory will be parsed

so never leave a copy, even renamed, there... that will produce exact these problems

It's better to have a clean house;=)

Dennis
10-09-2006, 06:32 PM
all files in the addon-directory will be parsed

so never leave a copy, even renamed, there... that will produce exact these problems

It's better to have a clean house;=)

In my opinion it would be better to add a check so only PHP files are parsed. Other files should be ignored.

Connie
10-09-2006, 08:21 PM
I was not exact enough:

php-files are parsed but other files should not be there...

nrivat
10-10-2006, 10:52 PM
Merci à tous, ca marche à merveille maintenant. Je n'avais pas compris que les 2 copy_folder étaient incompatibles.

Je manque visiblement d'expérience. Si vous avez un tuyau sur des tutoriels, explications sur pixel post ses addons et la creation de tempates, etc. je prends !

Ou vaut-il mieux que je commence par les bouquins sur php, etc. ?

Nathalie

Connie
10-11-2006, 06:14 AM
Nathalie, en anglais s'il vous plait!

please ask your questions in english...

nrivat
10-11-2006, 05:00 PM
Connie,

Ich bitte um entschuldigung... I am so sorry !!

Just wanted thanks everyone for the helpful answers. It is working well now, since I removed the other copy_folder.

I was asking for tutorials as well, but found interested links on pixelpost 101. I also miss php knowledge, but I am sure i will find resources on the net...

Thanks,
Nathalie