Search     
The Online Community for Aircraft Mechanics!
  
Home Forums Topics Top Headlines Your Account
Directory
· Home
· Audio
· Downloads
· FAQ
· Feedback
· Forums
· News Archive
· Recommend Us
· Search
· Site Map
· Submit News
· Surveys
· Top 10
· Topics
· Web Links
· World News
· Your Account
 
Login
Welcome, Guest
Nickname
Password
(Register)

Membership:
Latest: cenkemre21
Today: 0
Yesterday: 0
Overall: 490

Visitation:
Guests: 16
Members: 0
Total: 16


You are Anonymous user. You can register for free by clicking here
 
Last Seen Members
superg: 9 days ago
audai: 52 days ago
monika: 65 days ago
bycanertk: 70 days ago
ual_tech: 100 days ago
planemech669: 113 days ago
HORUS: 114 days ago
planedoctor: 116 days ago
blacklord83: 127 days ago
Ü ¬z¸¯³]: 127 days ago
missleigh: 132 days ago
 
Today in Aviation History
1952
North American F-86 Sabre sets world aircraft speed record, 698 mph (1124 kph).
 
Site Info
About PlaneDoctor.com
Advertising on this site
 

PlaneDoctor.com :: View topic - Problem on PHPNuke 7.5
 
  Forum FAQ Search Profile

Post new topic Reply to topic
PlaneDoctor.com Forum Index » All about Audio Module » Problem on PHPNuke 7.5   
View previous topic :: View next topic
AuthorProblem on PHPNuke 7.5
gs
Intern
Intern


Joined: Jul 01, 2005
Posts: 8
Location: Ireland

Reply with quote
Hi,

I've read over the other posts and my problem is the same
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/xxx/public_html/php/includes/sql_layer.php on line 286
Access Denied

http://www.planedoctor.com/pd/modules.php?name=Forums&file=viewtopic&t=130&sid=393f6fff8eff2d0d9a3d94f8b9d009d6

I don't follow your other posts related please help.
Audio 1.5 is installed on php nuke 7.5
I have it wrking on 7.4
PostPosted:
Fri Jul 01, 2005 9:47 pm
Top of PageView users profileSend private message
planedoctor
Site Admin
Site Admin


Joined: Oct 08, 2002
Posts: 306

Reply with quote
Hi,

You most likely have the same problem the others have using version 7 or above.

There was some changes made to the admin section and also security issues in the phpnuke core.

I feel bad that I havent had time to upgrade these files for everyone.

For now you will just have to follow some of the examples in these forums.

I believe there are fixes listed in this thread


http://www.planedoctor.com/pd/modules.php?name=Forums&file=viewtopic&t=130&sid=393f6fff8eff2d0d9a3d94f8b9d009d6

I hope you get it working.
_________________
PostPosted:
Fri Jul 01, 2005 11:27 pm
Top of PageView users profileSend private messageVisit posters website
gs
Intern
Intern


Joined: Jul 01, 2005
Posts: 8
Location: Ireland

Reply with quote
Hi Doc, i'm usin nuke 7.5

So do i just change

if (!eregi("admin.php", $PHP_SELF)) { die ("Access Denied"); }

$result = sql_query("select radminlink, radminsuper from ".$prefix."_authors where aid='$aid'", $dbi);
list($radminlink, $radminsuper) = sql_fetch_row($result, $dbi);
if (($radminlink==1) OR ($radminsuper==1)) {

To

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
global $prefix, $db;
$aid = substr("$aid", 0,25);
$row = $db->sql_fetchrow($db->sql_query("SELECT radminlink, radminsuper FROM " . $prefix . "_authors WHERE aid='$aid'"));
if (($row['radminlink'] == 1) OR ($row['radminsuper'] == 1)) {

EDIT

Nah i tryed that no change anim_rolleyes.gif
PostPosted:
Sat Jul 02, 2005 1:26 am
Top of PageView users profileSend private message
planedoctor
Site Admin
Site Admin


Joined: Oct 08, 2002
Posts: 306

Reply with quote
I have updated the files to work in 7.5 and >
I will be cleaning the code and placing it in the download area soon.
_________________
PostPosted:
Tue Jul 19, 2005 9:30 pm
Top of PageView users profileSend private messageVisit posters website
gs
Intern
Intern


Joined: Jul 01, 2005
Posts: 8
Location: Ireland

Reply with quote
Thanks i'm working on it...

Edit..

I'll tell ya what happened..

First i removed the origional admin files, there were 4 right? case, links, language (text file) and modules (audio.php
The language file was a .txt.. so i removed the origional defines listed in that language file.

Next i uploaded that new admin folder;
modules/audio/admin
I think that's all...
So i went to my admin menu area in nuke and the top group of blocks are in there (Administration Menu)..
But the bottom row is gone (Modules Administration / access denied)

And i put that piece of code in also, i.e.
define("_WEBAUDIO","Audio");

to your Admin (main) directory language files.
PostPosted:
Wed Jul 20, 2005 5:18 am
Top of PageView users profileSend private message
gs
Intern
Intern


Joined: Jul 01, 2005
Posts: 8
Location: Ireland

Reply with quote
Same prob still, i deleted everythign and went with the new install. I'm usin 7.5

Access denied still, i'll smoke another cigg 2cigar.gif
PostPosted:
Wed Jul 20, 2005 2:00 pm
Top of PageView users profileSend private message
planedoctor
Site Admin
Site Admin


Joined: Oct 08, 2002
Posts: 306

Reply with quote
OK I will download and install a copy of nuke ver 7.5 to test.
Will post outcome of testing and changes for this version if required.
_________________
PostPosted:
Wed Jul 20, 2005 2:41 pm
Top of PageView users profileSend private messageVisit posters website
planedoctor
Site Admin
Site Admin


Joined: Oct 08, 2002
Posts: 306

Reply with quote
I have changed the files in Audio 1.6 to accommodate version 7.5, 7.6 and 7.7 now.

There were a couple line changes in the admin files.
I tested with PhpNuke 7.5
_________________
PostPosted:
Wed Jul 20, 2005 4:32 pm
Top of PageView users profileSend private messageVisit posters website
planedoctor
Site Admin
Site Admin


Joined: Oct 08, 2002
Posts: 306

Reply with quote
The files are set for nuke 7.7
to use them in 7.5 or 7.6 you will need to comment/uncomment the first few lines in the 3 admin files under audio.

Real easy to do, just follow instructions.
_________________
PostPosted:
Wed Jul 20, 2005 4:35 pm
Top of PageView users profileSend private messageVisit posters website
gs
Intern
Intern


Joined: Jul 01, 2005
Posts: 8
Location: Ireland

Reply with quote
First of all, Thanks for updating Audio Module,

I wasn't sure what to comment out so i just guessed:
For case here's what i did:

/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

/* USE THE NEXT LINE FOR PHPNUKE VERSION 7.5 and 7.6 */

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }

/* FOR PHPNUKE VERSION 7.7 AND UP USE LINES BELOW AND COMMENT OUT ABOVE LINES */

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


For index here's what i did:

/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

/* USE THE NEXT LINE FOR PHPNUKE VERSION 7.5 and 7.6 */

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }

/* FOR PHPNUKE VERSION 7.7 AND UP USE LINES BELOW AND COMMENT OUT ABOVE LINES */

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


For links:

/************************************************************************/

/* USE THE NEXT LINES FOR PHPNUKE VERSION 7.5 and 7.6 */

if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
adminmenu("admin.php?op=Audio", ""._WEBAUDIO."", "audio.gif");

/* FOR PHPNUKE VERSION 7.7 AND UP USE LINES BELOW AND COMMENT OUT ABOVE LINES */

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


Now i think everything's back, but is there supose to be 2 audio icons ? 0biglaugh.gif
PostPosted:
Wed Jul 20, 2005 7:17 pm
Top of PageView users profileSend private message
planedoctor
Site Admin
Site Admin


Joined: Oct 08, 2002
Posts: 306

Reply with quote
You probably see one icon in the upper admin area, and one in the lower.

The one is the lower is correct. The upper one is there due to there still being files in the real admin directory for audio. With these removed the upper icon/link will be gone.
_________________
PostPosted:
Wed Jul 20, 2005 7:46 pm
Top of PageView users profileSend private messageVisit posters website
gs
Intern
Intern


Joined: Jul 01, 2005
Posts: 8
Location: Ireland

Reply with quote
No they're both beside eachother in the second row of
(Modules Administration)

If i "copy shortcut" for the first icon i get:
http://www.ottomaniarecordings.com/phpn/admin.php?op=Audio
And the second icon i get:
http://www.ottomaniarecordings.com/phpn/.php?op=Audio

I'm goin over it again anim_rolleyes.gif
PostPosted:
Wed Jul 20, 2005 7:56 pm
Top of PageView users profileSend private message
Display posts from previous:   
All times are GMT - 4 Hours
Post new topic Reply to topic
PlaneDoctor.com Forum Index » All about Audio Module » Problem on PHPNuke 7.5  

Jump to:  
Key
  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

Click here to view this sites Privacy Policy
© 2002 Planedoctor Web Services All Rights Reserved
Bulletin Board Powered by phpBB © 2001 phpBB Group
Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 12271 Seconds