Zen Cart Logo
Forums / All Other Contributions/Addons / Error on Multilingual ezpages

Error on Multilingual ezpages

Locked

Views: 1,297

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
2 Jul 2007, 10:59 AM
#1
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

Error on Multilingual ezpages

Hi all,

I've successfully installed the Multilingual ezpages add-on ( http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=113 ) on my 1.3.7 shop, it works fine in the backend but displays this error in the frontend :

Cannot redeclare class base in /includes/classes/class.base.php on line 17

These are the steps I took to install the add-on :

(I could not unzip the file downloaded from the add-on page so I used an online unzip tool and all folders are gone, so I'm kind of guessing the paths based on the readme file included)

1. Copy the following files to the shop :

includes/extra_datafiles/ezpages_multilangauge_database_names.php
admin/includes/extra_datafiles/ezpages_multilangauge_database_names.php
admin/includes/extra_datafiles/ezpages_multilangauge_filenames.php
admin/includes/languages/english/extra_definitions/ezpages_multilanguage_defines.php
admin/ezpages_install.php
admin/includes/boxes/extra_boxes/ezpages_install_tools_dhtml.php
includes/modules/YOUR_TEMPLATE/ezpages_bar_footer.php (changed to my template)
includes/modules/YOUR_TEMPLATE/ezpages_bar_header.php (changed to my template)
includes/modules/sideboxes/YOUR_TEMPLATE/ezpages.php (changed to my template)

2. Make a copy of these files :

includes/modules/pages/page/header_php.php -> header_php.php.bak
admin/ezpages.php -> ezpages.php.bak

3. Copy these files to the shop :

includes/modules/pages/page/header_php.php
admin/ezpages.php

4. Make a copy of the included file admin/includes/languages/english/extra_definitions/ezpages_multilanguage_defines.php and save it as admin/includes/languages/YOUR_LANGUAGE/extra_definitions/ezpages_multilanguage_defines.php

5. From the Admin panel, go to Tools > Install/Uninstall Multi-Language EZ-Pages and install the add-on

Not sure if it has to do with the fact that this add-on was created for 1.3.5 though...

Any help appreciated ! Thanks !

Shirley :)

20 Jul 2007, 3:04 PM
#2
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

Re: Error on Multilingual ezpages

Bump :)

24 Jul 2007, 1:19 AM
#3
beez avatar

beez

Zen Follower

Join Date:
Sep 2005
Location:
Malmö, Sweden
Posts:
117
Plugin Contributions:
4

Re: Error on Multilingual ezpages

I'm having big trouble getting this work too. Have you looked in this thread: http://zen-cart.com/forum/showthread.php?t=35883

Good luck!

24 Jul 2007, 10:31 AM
#4
shirster avatar

shirster

Zen Follower

Join Date:
Sep 2005
Location:
Hong Kong
Posts:
301
Plugin Contributions:
0

Re: Error on Multilingual ezpages

Hey Beez, thanks for your message. I did look at that thread, and since some people do have it working without any problems, I'm guessing it might have to do with my other modifications. For now I'm just putting both languages on the same page, and I might try to install it again manually when I have time.

Shirley :)

24 Jul 2007, 1:06 PM
#5
beez avatar

beez

Zen Follower

Join Date:
Sep 2005
Location:
Malmö, Sweden
Posts:
117
Plugin Contributions:
4

Re: Error on Multilingual ezpages

Ah ok, that could be tricky indeed :-)

I've been working on it and think I've got it right. Have some more testing to do, but it looks promising.