Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6
Author Message
Mr_Papa
New Member
New Member



Joined: Jun 26, 2005
Posts: 12

PostPosted: Fri Aug 05, 2005 11:50 pm Reply with quote

Okay, I am beside myself trying to fix this problem. The security code image for logins is no longer appearing in the user info block. This is the only place it doesn not appear. All other pages that display the security image have it displayed correctly. I do use the CodezWiz user info block instead of the standard nuke block. It has been working in the past.

I have researched these forums for similar issues and tried as many of the fixes as I could (such as blank lines at end of php files).

Any other ideas or similiar experiences?

Thanks...

_________________
[ Only registered users can see links on this board! Get registered or login! ] [ Only registered users can see links on this board! Get registered or login! ] [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce



Joined:
Posts: 5661

PostPosted: Sat Aug 06, 2005 4:23 am Reply with quote

well i asume you have set the gfx check to be used.
as for the block,it shows..
Fatal error: Call to undefined function: gfx() in /public_html/cruisetalk/modules/Your_Account/index.php on line 1723

check if you havents touched Your_Account/index.php and look for spaces after the ?>

If that doesnt work compare the gfx check with a block that does work..
 
View user's profile Send private message
Mr_Papa







PostPosted: Sat Aug 06, 2005 8:28 am Reply with quote

Hmmm....

Dont understand it, but your advice led me to the solution. Thanks!

Within the CZ User Info block there was this code:

$content .= "<tr><td colspan='2'>"._CZ_SECURITYCODE.": <img src='modules.php?name=Your_Account&op=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n";

I figured this must be where the issue was, so as you suggested, I compared it to how the Your_Account module did the gfx check and thus changed the above to:

$content .= "<tr><td colspan='2'>"._CZ_SECURITYCODE.": <img src='modules.php?name=Your_Account&gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'></td></tr>\n";

Now, the only thing changed is in Blue and I dont really understand the change, but hey it works. Maybe its a diff between 7.5 and 7.6 since it is working the other way on a 7.5 site.

Thanks for your help!

Incidentally, another probably simple question that I should know, but how did you see that error message? I had turned errors on in config.php to debug, but I wasnt seeing that message. It probably goes by too fast? How do you capture it?

Thanks again...
 
hitwalker







PostPosted: Sat Aug 06, 2005 8:36 am Reply with quote

hi,good for you that you fixed it.
i could look at the error because i work with firefox browser.
so when i saw your block i just rightclick on image and choose ...view image..that showed the error.
a simple but effective way.

personaly i dont trust any nuke below the 7.6.
i always worked with the 6.5 and was infact to my opinion the best version and was gracefully followed up by the 7.6

and yeah codes do change sometimes,and not all is that compatible...
 
Mr_Papa







PostPosted: Sat Aug 06, 2005 8:43 am Reply with quote

Roger, got it... Yeah, just Firefox for me too... I also find the 7.6 easier to deal with than the 7.5, but not really an easy way to upgrade given mods I use/make. Someday when I have some free time :>)

Thanks again...

Mr Papa
 
hitwalker







PostPosted: Sat Aug 06, 2005 8:45 am Reply with quote

ok.. Smile good luck.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.6

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 ©