Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Modules
Author Message
justbrowsing
New Member
New Member



Joined: Sep 26, 2009
Posts: 12

PostPosted: Sat Sep 26, 2009 2:43 pm Reply with quote

Ive been able to get the frontend working but can not seem to get the admin section to work. I just get a white page. Ive made all the normal edits:



Code:




//if (!defined('ADMIN_FILE')) {
//   die ("Access Denied");
//}

//global $admin_file;
//if ($radminsuper==1) {
//    adminmenu("".$admin_file.".php?op=scmain", "SimpleCart", "SimpleCart.gif");
//}
if (!defined('ADMIN_FILE')) {
   die('Access Denied');
}
global $admin_file;
adminmenu($admin_file . '.php?op=scmain', 'SimpleCart', 'banners.gif');


Has anyone else gotten the admin section of this module to work? Or willing to take a look at it to see what Ive missed?
 
View user's profile Send private message
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Sat Sep 26, 2009 3:48 pm Reply with quote

Try what I suggested in this issue.

http://www.ravenphpscripts.com/postt18176.html

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
justbrowsing







PostPosted: Tue Sep 29, 2009 12:14 pm Reply with quote

Nothing in the admin file. In the main index there were several !sset $op but none with index in it. Im assuming you meant the modules/simplecart/index? even with issue happening in admin? I can paste one of the files if that would help just let me know which one. I cant seem to get it to work.
 
Palbin







PostPosted: Tue Sep 29, 2009 12:55 pm Reply with quote

Can you just point me to a download?
 
justbrowsing







PostPosted: Tue Sep 29, 2009 1:11 pm Reply with quote

Yes I can

http://www.dadanuke.org/download-file-118.html


Thanks.

Ive tried a few different carts with raven nuke and most have had the same result wit ALOT more files to go through. I stuck with this one since it looked well....simple :-p
 
Palbin







PostPosted: Tue Sep 29, 2009 4:25 pm Reply with quote

I dropped the files in and loaded the two sql files in phpmyadmin, and everything seems to be working fine for me. I can go to the admin with no problem.

Try reuploading the files again. What ftp program are you using?
 
justbrowsing







PostPosted: Wed Sep 30, 2009 3:14 pm Reply with quote

I feel like an as. Sorry for wasting your time :-\ Ive never had a problem with files not upload 100% or I downloaded from another location and got a corrupted file. I downloaded from the above location and what do you know.........it worked.

Not the most feature rich cart but will do the job. Thanks alot!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Converting/Creating Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©