Jump to content



Latest News: (loading..)

- - - - -

[Contribution] Admin Account with Access Level


  • Please log in to reply
298 replies to this topic

#261   effendi_baba

effendi_baba
  • Members
  • 58 posts
  • Real Name:Effendi Baba

Posted 11 December 2004 - 04:46 AM

strategy, on Dec 7 2004, 01:49 PM, said:

Hi

1)  Can anyone let me know the default login details.. I cant find this anywhere

2)  The forgotten password function for some reason does not find the actual text for ADMIN_EMAIL_TEXT and therfore the password is not included in the email.. the email subject is  ADMIN_EMAIL_SUBJECT and the email contains only the text ADMIN_EMAIL_TEXT. 

I tried hard coding the include in forgotten_password.php to  require('includes/languages/english/login.php'); but this also did not work... all the language  files are present and in the correct directories, as far as i can see.

Thanks


<{POST_SNAPBACK}>


I  added the following lines to forgotten_password.php  and it worked

require('includes/application_top.php');
  require(DIR_WS_LANGUAGES . $language . '/login.php');

It seems that there was no reference to the login.php which define the 2 variable. Ideally, Login.php should not be harded coded here but should I don't believe any new addition was made to the Filenames.php which refers to login.php either.

#262   cesars

cesars
  • Members
  • 4 posts
  • Real Name:cesar scav

Posted 27 December 2004 - 09:28 PM

Hi, I installed the contib. with no problem but I also have Easy Populate and after the installation it stop working when u try to download or update any thing on the catalog it takes me to a login screen again.
any suggestions?

#263   BoulderDash

BoulderDash
  • Members
  • 122 posts
  • Real Name:Mark P.

Posted 11 January 2005 - 10:33 PM

ying, on Oct 11 2004, 04:02 AM, said:

I've succesfully installed the Admin Access level 2.3.

Sorry folks,
But where is this Version 2.3? When I do a seach at the Contributions, I get "Admin Account with Access Level, 2.2-CVS, 20 Aug 2004" but the link takes me to "Version 1.2, 24 Apr 2003" and it says it "will only work with CVS2 and MS1." I have osCommerce 2.2-MS2.

Can a brother get a link?
BD

:-"

#264   Goiler

Goiler
  • Members
  • 9 posts
  • Real Name:Dan

Posted 24 January 2005 - 11:08 PM

Quote

My admin login.php page keeps reloading itself after putting in the correct username and PW. Has anyone had this problem and know who it fix it? I have made 3 differenct admin setions and it keeps doing it.

Thanks,

Scott
Ps. I know it is the correct UN & PW because I checked the database and it says that I have logged in 5 times.

Having the same problem. Does anyone have a solution please e-mail me at hkhockey@shaw.ca thank you.

#265   kghammond

kghammond
  • Members
  • 22 posts
  • Real Name:Kevin Hammond

Posted 07 March 2005 - 12:05 AM

I just installed this contrib to a stock ocs 2.2MS2 and I get the following errors:

PHP Warning:  main(includes/languages/add_ccgvdc_english.php): failed to open stream: No such file or directory in /var/www/staging/osCommerce/admin/includes/languages/english.php on line 330

PHP Fatal error:  main(): Failed opening required 'includes/languages/add_ccgvdc_english.php' (include_path='.:/usr/share/pear') in /var/www/staging/osCommerce/admin/includes/languages/english.php on line 330

There is no file:
/var/www/staging/includes/languages/add_ccgvdc_english.php


Do I need to get that file from somewhere, or do I need to fix:
/var/www/staging/osCommerce/admin/includes/languages/english.php

Thank You,
Kevin

#266   graith

graith
  • Members
  • 60 posts
  • Real Name:Brian
  • Location:North West England

Posted 07 March 2005 - 07:16 AM

kghammond, on Mar 7 2005, 12:05 AM, said:

I just installed this contrib to a stock ocs 2.2MS2 and I get the following errors:

PHP Warning:  main(includes/languages/add_ccgvdc_english.php): failed to open stream: No such file or directory in /var/www/staging/osCommerce/admin/includes/languages/english.php on line 330

PHP Fatal error:  main(): Failed opening required 'includes/languages/add_ccgvdc_english.php' (include_path='.:/usr/share/pear') in /var/www/staging/osCommerce/admin/includes/languages/english.php on line 330

There is no file:
/var/www/staging/includes/languages/add_ccgvdc_english.php
Do I need to get that file from somewhere, or do I need to fix:
/var/www/staging/osCommerce/admin/includes/languages/english.php

Thank You,
Kevin

<{POST_SNAPBACK}>



It just contains
<?php
define('BOX_INFORMATION_GV', 'Gift Voucher FAQ');
define('VOUCHER_BALANCE', 'Voucher Balance');
define('BOX_HEADING_GIFT_VOUCHER', 'Gift Voucher Account'); 
define('GV_FAQ', 'Gift Voucher FAQ');
define('ERROR_REDEEMED_AMOUNT', 'Congratulations, you have redeemed ');
define('ERROR_NO_REDEEM_CODE', 'You did not enter a redeem code.');  
define('ERROR_NO_INVALID_REDEEM_GV', 'Invalid Gift Voucher Code'); 
define('TABLE_HEADING_CREDIT', 'Credits Available');
define('GV_HAS_VOUCHERA', 'You have funds in your Gift Voucher Account. If you want <br>
                         you can send those funds by <a class="pageResults" href="');
       
define('GV_HAS_VOUCHERB', '"><b>email</b></a> to someone'); 
define('ENTRY_AMOUNT_CHECK_ERROR', 'You do not have enough funds to send this amount.'); 
define('BOX_SEND_TO_FRIEND', 'Send Gift Voucher');

define('VOUCHER_REDEEMED', 'Voucher Redeemed');
define('CART_COUPON', 'Coupon :');
define('CART_COUPON_INFO', 'more info');
?>

Gift voucher and coupon definitions. So if your version of OSC doesn't have those installed, just comment out the include that's causing the problems

Brian

Edited by wheeloftime, 07 July 2006 - 08:23 PM.


#267   kghammond

kghammond
  • Members
  • 22 posts
  • Real Name:Kevin Hammond

Posted 07 March 2005 - 12:21 PM

Thank You, I did figure out that commenting out that line fixed my problem.  It is nice to read your post confirming that what I did was appropriate.

Thank You again,
Kevin

#268   templarkadosh

templarkadosh
  • Members
  • 1 posts
  • Real Name:Fabio

Posted 15 March 2005 - 09:19 PM

thnks graith ... itīs helped me ...

#269   aromacraft

aromacraft
  • Members
  • 62 posts
  • Real Name:Marc
  • Location:Elland, West Yorkshire

Posted 23 March 2005 - 01:09 PM

Goiler, on Jan 24 2005, 11:08 PM, said:

Having the same problem. Does anyone have a solution please e-mail me at hkhockey@shaw.ca thank you.

<{POST_SNAPBACK}>



Gotta say i have the same problem as you 2 if i put in the incorrect password it it says error incorrect password. but when i put admin@localhost   and admin as pass word it just reloads the admin page i have tried it with php 5 first and thought that was causing it. so reloaded php 4.3  and is the same. i have also tried 2.1 and 2.3 of the contrib with the same affect



any help would be greatly appreciated



Marc

#270   xtjie

xtjie
  • Members
  • 3 posts
  • Real Name:xingtongjie

Posted 26 March 2005 - 09:01 AM

aromacraft, on Mar 23 2005, 10:09 PM, said:

Gotta say i have the same problem as you 2 if i put in the incorrect password it it says error incorrect password. but when i put admin@localhost   and admin as pass word it just reloads the admin page i have tried it with php 5 first and thought that was causing it. so reloaded php 4.3  and is the same. i have also tried 2.1 and 2.3 of the contrib with the same affect
any help would be greatly appreciated
Marc

<{POST_SNAPBACK}>



change your  "session_write_directory"   directrory ,have "write" authority.

take me two days.

#271   computerwiz5

computerwiz5
  • Members
  • 139 posts
  • Real Name:D M
  • Gender:Male

Posted 08 April 2005 - 07:01 PM

I dont know if there is a problem with the sessions, but when i click on a drop down menu the system logs me off, and i have to log back in, but even if i do that it still wont let me do what i want to do, it will just log me back off again and again?

Thanks
Danny

#272   gatzo

gatzo
  • Members
  • 34 posts
  • Real Name:Dude

Posted 14 April 2005 - 09:00 AM

moku, on Jun 30 2004, 01:32 PM, said:


But doesn't this solution also alter the session timeout for customers logging in to their account? Anyone knows?

#273   Wendy James

Wendy James
  • Members
  • 4,131 posts
  • Real Name:Wendy James
  • Gender:Female
  • Location:Alabama USA

Posted 25 April 2005 - 04:39 AM

I am trying to install this contribution and have come across a couple of problems I hope someone can help me with.

1. Some file names are not showing as they should. And I can not find a language file to specify the correct headings. They seem to be made on the fly coming from the database somewhere.

ie: shows Gv_admin instead of Gift Voucher

2. It is not showing sub pages underneath the different areas that are added on contributions, like the gift coupon, points rewards, etc. I manually entered the areas into the database and believe I did it correctly. I follows the sql file supplied with the contribution so it should be ok. They work fine if you want to give access to all of the pages in each group but can not set seperate levels for different pages within each new contribution.

3. when you click on save, it is not saving any new information to the database for the added on contributions. I have gone in and manually entered them, but every time I have tried to use the admin area to make changes it acutally removes all the access to the added on contributions.



Anyone know what I can do or is there an additional "how to use this contribution" file somewhere that I could read?  Should mention I am using Admin 2.3

Edited by wendyjames, 25 April 2005 - 04:43 AM.

Wendy James

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

#274   Wendy James

Wendy James
  • Members
  • 4,131 posts
  • Real Name:Wendy James
  • Gender:Female
  • Location:Alabama USA

Posted 25 April 2005 - 05:29 AM

Well after trying a couple of things I solved #2 and #3... anyone have a suggestion for #1?   =)
Wendy James

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

#275   lxa1801

lxa1801
  • Members
  • 8 posts
  • Real Name:Gregory Wright

Posted 13 May 2005 - 05:10 PM

Okay, I downloaded this contribution and I've read through this topic and can't figure this out, so hopefully I don't sound like too much of an idiot.

How do you complete this step?

Quote

2. Database.
You must to create three tables into your DB, using the 'admin_tabel.sql' file.

Any help is appreciated.

#276   gatzo

gatzo
  • Members
  • 34 posts
  • Real Name:Dude

Posted 13 May 2005 - 06:21 PM

lxa1801, on May 13 2005, 05:10 PM, said:

Okay, I downloaded this contribution and I've read through this topic and can't figure this out, so hopefully I don't sound like too much of an idiot.

How do you complete this step?
Any help is appreciated.

<{POST_SNAPBACK}>

Enter phpMyAdmin -> find your DB -> click the SQL tab -> Browse, Run.

#277   lxa1801

lxa1801
  • Members
  • 8 posts
  • Real Name:Gregory Wright

Posted 13 May 2005 - 06:56 PM

gatzo, on May 13 2005, 02:21 PM, said:

Enter phpMyAdmin -> find your DB -> click the SQL tab -> Browse, Run.

<{POST_SNAPBACK}>


I know I know and fell like an idiot cause I knew that.

#278   netnuts75

netnuts75
  • Members
  • 4 posts
  • Real Name:steve

Posted 17 May 2005 - 05:12 AM

Hi
I have installed:
Access with Level Account for the Admin Area of osCommerce (MS2)
For a friend of mine and everything seems to work ok except when I log in with the admin who is suppose to have full access and I try to click on the Customers link so I can see any orders I get an error stating the below message.

~~~~~~~~~~~~~~~~~~~~
Access Denied

No Right Permission Access

Please contact your Web Administrator to request
more access or if you found any problem.
~~~~~~~~~~~~~~~~~~~~

I get the same error message when I click on:
Locations / Taxes
Localization
Reports
Tools

Anyone got any suggestions for me.

He wanted me to set it up so he could have someone else input the infor for his items and just give the access to Catalog:

I set up a new user with just access to Catalog and this seems to work just fine, my only problem is the one stated above about the full admin access.

Thanks
Steve

#279   vikram_lashkari

vikram_lashkari
  • Members
  • 15 posts
  • Real Name:Vikram

Posted 23 May 2005 - 01:01 PM

I am also geeting some problem related with the sessions, As when i click on a drop down menu under the Admin section (i.e Select Process,Delivery order type from order page )the system logs me off, and i have to log back in, but even if i do that it still wont let me do what i want to do, it will just log me back off again
and again?

   Can anyone please help me out. plz... my email vikram_lashkari@yahoo.com.
  Thanks


Cheers!!
Vikram

#280   pstrid

pstrid
  • Members
  • 100 posts
  • Real Name:Paul Strid
  • Location:Philadelphia, PA

Posted 11 June 2005 - 01:24 AM

I have this contribution installed but am wondering...do people still recommend password protecting the admin direct (ie using .htaccess) as well or is having both just overkill?