| Author |
Message |
eyefrequency
Nuke Soldier


Joined: Aug 04, 2004
Posts: 22
|
Posted:
Sun Aug 15, 2004 11:35 pm |
  |
I've struggled at adding the script needed to have admin secure 1.7 work on php-nuke 7.4. Madman, do you think I could send you the 3 files and you could alter them correctly for me? I would really appreciate your help! Thanks!  |
|
|
   |
 |
nobleclem
Lieutenant


Joined: May 27, 2003
Posts: 167
Location: Southfield, MI
|
Posted:
Mon Aug 16, 2004 6:13 am |
  |
|
       |
 |
eyefrequency
Nuke Soldier


Joined: Aug 04, 2004
Posts: 22
|
Posted:
Mon Aug 16, 2004 9:55 am |
  |
I know it does. It's not a question of if it will work, it's a question of how. I've tried to implement the code included in the install.txt, but i keep getting errors. Once I restore the files to their backups, I stop getting errors. I was wondering if madman could do it for me, so I could have working files along with their code that I could look at after to learn from my mistakes. |
|
|
   |
 |
madman
Support Mod


Joined: Feb 15, 2004
Posts: 806
|
Posted:
Mon Aug 16, 2004 10:14 am |
  |
| eyefrequency wrote: |
| I was wondering if madman could do it for me, so I could have working files along with their code that I could look at after to learn from my mistakes. |
Eyefreq, email me (madman(at)gp4tweaker.vadertrophy.com) along with your PHP-Nuke's admin.php, auth.php, and mainfile.php files. I will modify them for you. |
_________________ I'm  |
|
      |
 |
eyefrequency
Nuke Soldier


Joined: Aug 04, 2004
Posts: 22
|
Posted:
Mon Aug 16, 2004 10:51 am |
  |
Files sent. Thanks again, madman. Your the best!  |
|
|
   |
 |
madman
Support Mod


Joined: Feb 15, 2004
Posts: 806
|
Posted:
Mon Aug 16, 2004 11:44 am |
  |
| eyefrequency wrote: |
Files sent. Thanks again, madman. Your the best!  |
Check your mailbox.  |
_________________ I'm  |
|
      |
 |
eyefrequency
Nuke Soldier


Joined: Aug 04, 2004
Posts: 22
|
Posted:
Mon Aug 16, 2004 11:52 am |
  |
Hi madman,
Do you think you could send those three files as attachments in the php format? I think you posted the code in the email, and I don't know how to transfer the script since the email client doesn't read php correctly, and it ends up looking like a jumbled mess. Thanks! |
|
|
   |
 |
madman
Support Mod


Joined: Feb 15, 2004
Posts: 806
|
Posted:
Mon Aug 16, 2004 2:14 pm |
  |
Ok, now compressed with zipped file.
Please re-check your mailbox. |
_________________ I'm  |
|
      |
 |
eyefrequency
Nuke Soldier


Joined: Aug 04, 2004
Posts: 22
|
Posted:
Mon Aug 16, 2004 11:23 pm |
  |
Hi madman,
I think there might a problem with one of the files. Please check your mailbox for my email. Thanks, I'm sorry for being such a pain.  |
|
|
   |
 |
madman
Support Mod


Joined: Feb 15, 2004
Posts: 806
|
Posted:
Tue Aug 17, 2004 4:00 am |
  |
| eyefrequency wrote: |
I think there might a problem with one of the files. Please check your mailbox for my email. Thanks, I'm sorry for being such a pain.  |
Sorry for my mistake. Yes, it has one char missing in auth.php file. I send you the fix (check again your mailbox), but for quick fix you can open/edit auth.php that I was sent and find these lines:
| Code: |
| $admin = (isset($_COOKIE['admin']) && preg_match('/^[a-z0-9\+\/\=]+$/', $_COOKIE['admin'])) ? $_COOKIE['admin'] : ''; |
Replace with:
| Code: |
| $admin = (isset($_COOKIE['admin']) && preg_match('/^[a-z0-9\+\/\=]+$/i', $_COOKIE['admin'])) ? $_COOKIE['admin'] : ''; |
They look similar, but actually a letter "i" was missing in Regex string (preg_match function). |
_________________ I'm  |
|
      |
 |
eyefrequency
Nuke Soldier


Joined: Aug 04, 2004
Posts: 22
|
Posted:
Tue Aug 17, 2004 11:47 am |
  |
Thank you so very much, madman! Works great!  |
|
|
   |
 |
eadtf
Private


Joined: Jul 26, 2004
Posts: 46
|
Posted:
Mon Aug 23, 2004 3:25 am |
  |
I recently did a new install of Nuke 7.4 and I can't get Admin Secure to work, I followed the directions to the 'T' any help would be greatly appreicated. This is the error mesage I am getting when I try to login as Admin:
| Quote: |
Parse error: parse error in /home/awagus00/public_html/mainfile.php on line 1193
Warning: get_lang(admin/language/lang-.php): failed to open stream: No such file or directory in /home/awagus00/public_html/mainfile.php on line 207
Warning: get_lang(): Failed opening 'admin/language/lang-.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/awagus00/public_html/mainfile.php on line 207
Fatal error: Call to a member function on a non-object in /home/awagus00/public_html/admin.php on line 48 |
This is what I get when I login as user:
| Quote: |
Parse error: parse error in /home/awagus00/public_html/mainfile.php on line 1193
Fatal error: Call to a member function on a non-object in /home/awagus00/public_html/index.php on line 21 |
Perhaps I too could email you my three files?
-Pat |
|
|
   |
 |
madman
Support Mod


Joined: Feb 15, 2004
Posts: 806
|
Posted:
Mon Aug 23, 2004 10:30 am |
  |
| eadtf wrote: |
| Perhaps I too could email you my three files? |
That's a better idea.  |
_________________ I'm  |
|
      |
 |
eadtf
Private


Joined: Jul 26, 2004
Posts: 46
|
Posted:
Mon Aug 23, 2004 11:07 am |
  |
Well I sent them again, the first set I sent earlier are the ones I tried Modding, I just realized that so I sent a clean copy.
Thanks Again,
Patrick |
|
|
   |
 |
eadtf
Private


Joined: Jul 26, 2004
Posts: 46
|
Posted:
Mon Aug 23, 2004 9:11 pm |
  |
Hello Madman,
I sent them to this address: madman(at)gp4tweaker.vadertrophy.com is this still correct or should they have been sent elsewheres?
Patrick |
|
|
   |
 |
|
|