osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

AARGH! Fatal error: Cannot redeclare tep_encrypt_password

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-20-2004, 03:48 PM
Anonymous
Guest
 
Posts: n/a
Default AARGH! Fatal error: Cannot redeclare tep_encrypt_password

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-20-2004, 04:15 PM
Lurker
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DevildogMP
Default Customer Info in admin fatal error

getting thiswas listed as "Arrgh", but realized that title helped no one...sorry)
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-20-2004, 05:25 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,990
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-20-2004, 05:27 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,990
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-20-2004, 05:32 PM
Lurker
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DevildogMP
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-21-2004, 04:42 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-21-2004, 04:54 AM
Lurker
 
Join Date: Feb 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
DevildogMP
Default

that got my brain in gear! Found it! Thx jon very much!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-21-2004, 05:18 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

if the mod you're installing uses a new version of that function make sure you keep the correct version


jw
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 03:01 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax