Jump to content



Latest News: (loading..)

- - - - -

[Contribution] Admin Account with Access Level


  • Please log in to reply
298 replies to this topic

#201   241

241
  • Members
  • 6,181 posts
  • Real Name:Stephen Bissett
  • Location:Scotland

Posted 30 June 2004 - 11:10 PM

gavhot, on Jun 30 2004, 11:03 PM, said:

I have added this contribution and it works great, the only thing is how can i add more contributions on to my Oscommerce after as it just says
"Please contact your Web Administrator to request
more access or if you found any problem."

How do i get round this do i have to declare the filename somewhere in the admin access?

Thanks
you need to set the permissions for the file access in admin under administration you can add the files for any added contribution and set whom has access to what
No longer giving free advice. Please place deposit in meter slot provided. [img]http://forums.oscommerce.com/style_images/1/folder_post_icons/icon1.gif[/img] Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! [img]http://forums.oscommerce.com/style_emoticons/default/tongue.gif[/img]


Support The Project
Documentation/Knowledgebase/Discussions
My Contributions

#202   deepfreeze

deepfreeze
  • Members
  • 32 posts
  • Real Name:Andy

Posted 03 July 2004 - 12:40 PM

Have found a weird problem and can't seem to see the solution. I have installed Admin Access With Levels 1.6 contrib and also have edit orders contrib. As main admin I have no problem with anything - it all works great.

However, when i create a user all works well except they can not print an invoice or packing slip (they have been setup to access this area  :rolleyes: ).

Is this a permissions problem or me being my usual stupid self and missing that one little thing?? :huh:

Install on MS2 - invoice button is looking for the following link;

http://localhost/oscommerce/catalog/admin/invoice.php?oID=6

Result is new window comes up "page cannot be displayed".

Invoice.php exists in this directory

Appreciate your help on this.

Edited by deepfreeze, 03 July 2004 - 12:45 PM.


#203   compuguru

compuguru
  • Members
  • 5 posts
  • Real Name:Compuguru

Posted 14 July 2004 - 04:31 AM

I just got it installed.  I can get to the login page, but after I login, i get this error:
Fatal error: Call to undefined function: tep_validate_password() in /www/a/*******/htdocs/milty/catalog/admin/login.php on line 26
Can anyone help me?

#204   moku

moku
  • Members
  • 25 posts
  • Real Name:Ghack
  • Location:Kanazawa, Japan

Posted 14 July 2004 - 05:01 AM

You probably forget to upload the file admin/includes/functions/password_funcs.php which is supposed to contains the function tep_validate_password()

Or you didn't updated your admin/includes/application_top.php with a line like
require(DIR_WS_FUNCTIONS . 'password_funcs.php');


#205   compuguru

compuguru
  • Members
  • 5 posts
  • Real Name:Compuguru

Posted 15 July 2004 - 01:24 AM

Thanks, after looking at my site, I discovered that I edited the wrong application_top.php :D. I edited the one in Catalog/includes rather then the one in catalog/admin/includes.  
Thanks anyways!

#206   royth

royth
  • Members
  • 16 posts
  • Real Name:Roy

Posted 16 July 2004 - 12:55 AM

I have installed this module but get the following error when going to the admin page

Fatal error: Cannot redeclare tep_redirect() (previously declared in /files/catalog/admin/includes/functions/general.php:15) in /files/catalog/admin/includes/functions/general.php on line 15


I cant work out what I have done wrong any clues?

#207   royth

royth
  • Members
  • 16 posts
  • Real Name:Roy

Posted 16 July 2004 - 09:08 PM

My error, i have fixed this, I am now at the logon prompt and searching for the default password for the admin@localhost account!!

#208   valdier

valdier
  • Members
  • 6 posts
  • Real Name:Jason

Posted 21 July 2004 - 03:38 AM

default password is admin...


having just installed 2.3, I am at a dead standstill...

any ideas what might be causing this?

Fatal error: Call to undefined function: tep_array_merge() in /cart/admin/admin_members.php on line 352

Edited by valdier, 21 July 2004 - 03:38 AM.


#209   valdier

valdier
  • Members
  • 6 posts
  • Real Name:Jason

Posted 21 July 2004 - 03:50 AM

nevermind... just overwrote the entire thing... now it is working.

#210   dhoerpel

dhoerpel
  • Members
  • 5 posts
  • Real Name:xxx

Posted 23 July 2004 - 12:15 AM

Hello!

I'm sorry but I always get this error on this page admin_members.php, too:

Fatal error: Call to undefined function: tep_array_merge() in /cart/admin/admin_members.php on line 352

I dont know what I did wrong, but it would be very nice if you can help me.
Thanks!

                                             Bye Dave!

#211   moku

moku
  • Members
  • 25 posts
  • Real Name:Ghack
  • Location:Kanazawa, Japan

Posted 23 July 2004 - 12:22 AM

Did you search in the forums?

A simple search gives this:
http://forums.oscommerce.com/index.php?act...min_members.php
that gives you this:
http://forums.oscommerce.com/index.php?sho...70&#entry383009

noisebox wrote:

Quote

try to change tep_array_merge()

into

array_merge()
on line 352

HTH

#212   quillspirit

quillspirit
  • Members
  • 25 posts
  • Real Name:Shawn Mann
  • Location:Oregon, USA

Posted 28 July 2004 - 08:18 AM

Ok, I just spent the past two hours reading through all 22 pages of this support thread, and I still can't figure out a way to login to the freakin admin panel. I tried "admin@localhost" and "admin" - that didn't work. I tried the changing of the name in the database to my first name and email and such, requested new password, got password in email, plugged it in, STILL won't work. I am at my wits end!

I have been trying every little trick I know, but to no avail. PLEASE, if someone figured this out, HELP! I am desperate. I am setting this up for a client and I have 3 days to pull it off. In DIRE need of some help. Any would be appreciated.

#213   quillspirit

quillspirit
  • Members
  • 25 posts
  • Real Name:Shawn Mann
  • Location:Oregon, USA

Posted 28 July 2004 - 08:14 PM

Does anyone support this mod anymore?

#214   quillspirit

quillspirit
  • Members
  • 25 posts
  • Real Name:Shawn Mann
  • Location:Oregon, USA

Posted 29 July 2004 - 12:40 AM

I got it to work, FINALLY!

I was missing some files. Lavarock emailed me and then called me and suggested that it might be a missing file, so I re-uploaded ALL the files, and BAM it worked. Thanks Lavarock!

#215   quillspirit

quillspirit
  • Members
  • 25 posts
  • Real Name:Shawn Mann
  • Location:Oregon, USA

Posted 30 July 2004 - 12:32 AM

Hi, its me again... for some reason, I tried to login today, and couldn't! I didn't even change anything.

I fixed that problem, now I am getting ANOTHER error after I login and get to the catalog/admin/admin_account.php page:

1054 - Unknown column 'admin_id' in 'where clause'

select admin_files_id from admin_files where FIND_IN_SET( '1', admin_groups_id) or FIND_IN_SET( '1', admin_id) and admin_files_is_boxes = '1' and admin_files_name = 'administrator.php'

[TEP STOP]

I have checked the database and the admin table and everything is fine.
I have checked the database_tables.php and all the admin tables are defined.

Anyone else have any ideas? I even tried re-uploading all the files, in case I missed something.

Any help would be great. Thanks!

Jodi Mann

Edited by quillspirit, 30 July 2004 - 12:35 AM.


#216   deepfreeze

deepfreeze
  • Members
  • 32 posts
  • Real Name:Andy

Posted 07 August 2004 - 08:52 AM

quillspirit, on Jul 28 2004, 08:14 PM, said:

Does anyone support this mod anymore?
As per a fair part of this site, it would seem not!

#217   quillspirit

quillspirit
  • Members
  • 25 posts
  • Real Name:Shawn Mann
  • Location:Oregon, USA

Posted 08 August 2004 - 08:03 AM

Well, thanks to some cool people who contacted me offline, I finally got it working for me. It appears I was missing a file somewhere. It works fine now. If any one else needs help, do not hesitate to PM or Email me! I will help the best I can! Since no one else seems to want to support this mod anymore.

#218   GSM Freak

GSM Freak
  • Members
  • 2 posts
  • Real Name:Ruben

Posted 08 August 2004 - 03:51 PM

Fatal error: Call to undefined function: tep_admin_check_boxes() in /home/.sites/31/site63/web/catalog/admin/index.php on line 24


How can i fix this?

#219   Lavarock

Lavarock
  • Members
  • 58 posts
  • Real Name:Mark Shultise
  • Location:Captain Cook (Big Island) Hawaii

Posted 08 August 2004 - 05:19 PM

That function appears to be defined in:

admin\includes\functions\general.php

and should look something like this. Note that is only a part of a larger section that you were supposed to insert, located between the ADMIN BEGIN and ADMIN END headings.

====snip==================================

////
//Return 'true' or 'false' value to display boxes and files in index.php and column_left.php
function tep_admin_check_boxes($filename, $boxes='') {
  global $login_groups_id, $login_id;

  $is_boxes = 1;
  if ($boxes == 'sub_boxes') {
    $is_boxes = 0;
  }
  $dbquery = tep_db_query("select admin_files_id from " . TABLE_ADMIN_FILES . " where FIND_IN_SET( '" . $login_groups_id . "', admin_groups_id) or FIND_IN_SET( '" . $login_id . "', admin_id) and admin_files_is_boxes = '" . $is_boxes . "' and admin_files_name = '" . $filename . "'");



  $return_value = false;
  if (tep_db_num_rows($dbquery)) {
    $return_value = true;
  }
  return $return_value;
}

////

====snip==================================

If I remember correctly, the zip file had two different directory structures in it.

The first was called ORIGINALS, which were files which did not already exist in OSC and could be copied right into your directory structure.

The second directory tree was called CHANGED FILES. If you were working with an unmodified OSC like a brand new install,  you could copy these 17 files overtop of the existing files. HOWEVER, most of us would have to open those existing files and cut and paste the changes in.

#220   GSM Freak

GSM Freak
  • Members
  • 2 posts
  • Real Name:Ruben

Posted 08 August 2004 - 10:13 PM

I can't find it.