This is a discussion on AARGH! Fatal error: Cannot redeclare tep_encrypt_password within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Fatal error: Cannot redeclare tep_encrypt_password() (previously declared in /home/mshang33/public_html/catalog/admin/customers.php:18) in /home/mshang33/public_html/catalog/admin/includes/functions/password_funcs.php on line 33 I get no customer list in ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Fatal error: Cannot redeclare tep_encrypt_password() (previously declared in /home/mshang33/public_html/catalog/admin/customers.php:18) in /home/mshang33/public_html/catalog/admin/includes/functions/password_funcs.php on line 33 I get no customer list in admin now..what can I do I restored the php files and a backup..still get this error |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| getting this Fatal error: Cannot redeclare tep_encrypt_password() (previously declared in /home/mshang33/public_html/catalog/admin/customers.php:1 in /home/mshang33/public_html/catalog/admin/includes/functions/password_funcs.php on line 33 I get no customer list in admin now..what can I do I restored the php files and a backup..still get this error |
|
#3
| ||||
| ||||
| DevildogMP, I feel your pain, but, please be more descriptive with your titles. For future reference, a better title would be : AARGH! Fatal error: Cannot redeclare tep_encrypt_password I have taken the liberty of changing the title for you. I am only doing this to keep search results relevant for other visitors. Now, on to your problem: Have you changed anything that we should know about? This is not an error that just appears out of the blue. Please give more info.
__________________ Michael Sasek osCMax Developer
|
|
#4
| ||||
| ||||
| Hehe, I just recommended a title change, and changed it in your other post. Didnt see this one! I am merging both posts into one thread.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| yep..changed both customer php files to add customers under admin...made my own "fatal mistake by not backing up...( i know, shoot me..I had a brain fart) now I'm paying for it. This is the readme of the file I was using: ############## # 09-11-2003 ############## # Account create in admin # # Nuno Chaveiro # Portugal # # chaveiro@catus.net # http://www.gtronica.com ############## # # This addon let you insert clients from the admin. # An email with the automated generated pass is sent to them. # 100% friendly to osc source, this is an update to customers.php for osCommerce2.2MS2 # Should certainly be included in next official release # Tested in osCommerce 2.2MS2 # ############## INSTALATION Replace this files with the inclued ones: admin/costumers.php admin/includes/languages/english/costumer.php or Search for code between this lines in the zipped files and do the apropriate changes to your files. //#CHAVEIRO6# Step order/customer begin //#CHAVEIRO6# Step order/customer end Any hope? or is all lost? |
|
#6
| |||
| |||
| That error means you're defining the function twice. Once on customers on line 18, and once where it should be, in the includes/functions file on line 33. Whatever is on line 18 of customers.php is causing your problem, whether it's an extra link to the include file (I doubt it or the tep_validate_password function would cause an error first) or maybe you redeclared the function in customers.php if you're not sure what to do post the customers.php file up here. jon |
|
#7
| |||
| |||
| that got my brain in gear! Found it! Thx jon very much! |
|
#8
| |||
| |||
| if the mod you're installing uses a new version of that function make sure you keep the correct version jw |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot redeclare tep_show_category() | crystina | osCMax v2 Features Discussion | 2 | 11-21-2006 12:51 AM |
| fatal error plz help | uglyrain | osCMax v2 Installation issues | 1 | 11-30-2005 03:28 PM |
| Fatal error: | kiokouk | osCommerce 2.2 Modification Help | 2 | 12-24-2004 03:38 AM |
| Fatal error...... | depayva | osCMax v1.7 Installation | 2 | 12-05-2003 11:39 AM |
| Cannot redeclare tep_set_banner_status() | EPierre | osCommerce 2.2 Modification Help | 0 | 11-20-2002 04:00 PM |