Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.219
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Security GFX Problem In PhpNuke 8 [SOLVED]
Security GFX Problem In PhpNuke 8 [SOLVED]

9 Replies / 4216 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » General PhpNuke

View previous topic :: View next topic


gator81
Reputation: 470.1 Add RepSubtract Rep
Local time: 4:02 AM

blank.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Jun 05, 2007
Last Visit: 03 Nov 2008
Posts: 34
Points: 1198 

Post Security GFX Problem In PhpNuke 8 [SOLVED] Posted: Sun Jul 01, 2007 7:05 pm

well I have been looking for quite some time to get this working and finally a user on another site named White_Devil resolved the issue that I was having. I wanted to share the info here in case anyone else may of had the problem.

On phpnuke 8, I could not get the security code grafix to work. Everything was correct and working on the server, but the graphix would not work. I didnt get a red x or anything. Finally after alot lf searching this was told to me:
Look for lines... THERE IS 2 of em...
Code:

   ImageJPEG($image, '', 75);


Change em to
Code:

   ImageJPEG($image, '', 9);

this resolved my problem and it is now working.

Another thing that I came across that i thought was really good, and there could of been talk about this already, but its a program called xampp and this allowed me to put my site on my local machine for testing. Most of you probally know about it, but I thought I would still share the info :)
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 64 Add RepSubtract Rep
votes: 35
Local time: 10:02 AM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

2.33 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 10 Feb 2012
Posts: 4467
Points: 181246 

Post Re: Problem solved - want to share Posted: Sun Jul 01, 2007 10:07 pm

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

Thx Gator

White Devil is a gifted lad !

Could you explain why this is floppy if you see this thread... thx

i wrote this tutorial last week about setting up a local on your PC i use it everyday http://www.clan-themes.co.uk/tutorials-view-121-set-up-a-local-server-on-vista.html

and floppy wrote this one for XP users
http://www.clan-themes.co.uk/tutorials-view-86-setting-up-your-own-local-server.html

Thx m8
 

 
View user's profileSend private messageSend e-mail Reply with quote

gator81
Reputation: 470.1 Add RepSubtract Rep
Local time: 4:02 AM

blank.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Jun 05, 2007
Last Visit: 03 Nov 2008
Posts: 34
Points: 1198 

Post Posted: Mon Jul 02, 2007 6:54 pm

I would like to post some additional information to this. One of the issues I seem to be having when doing this seemed that the code that was generated was cramped. "all in the same line" So asked white about getting a return so the code would be shown on another line. So in the block folder block-login.php file the line:
Code:

$content .= ""._SECURITYCODE.": <img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'><br>\n";

and just added the <br> so it looked like this
Code:

$content .= ""._SECURITYCODE.": <br><img src='?gfx=gfx&random_num=$random_num' border='1' alt='"._SECURITYCODE."' title='"._SECURITYCODE."'><br>\n";


now this gave me the return and looked like some extra room, so i started changing the '9' to a higher number, just a little at a time and I have it up to '60' and the numbers seem to look a little more clear. I can not explain how this all happened, I can only think that it was because the graphix was on another line and gave it more room.

Just wanted to share my findings
 

 
View user's profileSend private message Reply with quote


fext
Reputation: 463.4 Add RepSubtract Rep
Local time: 9:02 AM
Location: The Unknown
uk.gif

Spammer
Spammer

0.06 posts per day
Medals: 0

Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100
Points: 1494 

Post Posted: Tue Jul 03, 2007 11:02 am

Shop Purchases:
Multi Gaming (Warrior) Theme · Clan Roster v1.7 Php Nuke Module ·  · Clan Themes Green PhpNuke Theme

Nice find - i got a question:

You refer to these lines:

ImageJPEG($image, '', 75);

change to

ImageJPEG($image, '', 9);


What file do i change these lines in?

I have a problem with my site at the moment...

On the homepage you can see the GFX but on the new registration page you can't - it only shows the ALT text [Security Code].

This is the link it calls but does not show an image: http://www.neophytez.com/Raven/modules.php?name=Your_Account&op=gfx&random_num=XXXXXX

*XXXXXX replaces random number generated by script on site.

Will the intial fix in first post fix this?

My Nuke version is Raven.
 

FEXT Web Designer / 360 Gamer robertyoungdesign.com [personal] neophytez.com [clan]  
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

gator81
Reputation: 470.1 Add RepSubtract Rep
Local time: 4:02 AM

blank.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Jun 05, 2007
Last Visit: 03 Nov 2008
Posts: 34
Points: 1198 

Post Posted: Tue Jul 03, 2007 6:45 pm

dont think so, I am running phpnuke 8 and in the main folder there is a file called mainfile.php and at the bottom is the place where I can change the graphic size....but 8 uses code_bg.jpg and code_bg_little.jpg as graphics and I belive that raven uses the captcha instead. I did a search on there site and there was alot of info that may answer your problem here is the direct link, but you may need to go create an account and search for your answer : http://ravenphpscripts.com/forums-search-results.html or just http://ravenphpscripts.com

hope that helps
 

 
View user's profileSend private message Reply with quote

fext
Reputation: 463.4 Add RepSubtract Rep
Local time: 9:02 AM
Location: The Unknown
uk.gif

Spammer
Spammer

0.06 posts per day
Medals: 0

Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100
Points: 1494 

Post Posted: Wed Jul 04, 2007 12:33 pm

Shop Purchases:
Multi Gaming (Warrior) Theme · Clan Roster v1.7 Php Nuke Module ·  · Clan Themes Green PhpNuke Theme

Ok i found a resource but it was not a good one.

It told me to effectively do what you said so prior to doing this i made a site back up and another backup of the file i was about to change - 'mainfile.php'.

Seeing as my change never worked after upload i proceeded to upload the backup file - still retunring the same errors.

I get this:


Warning: main(includes/nmatch_functions.php) [function.main]: failed to open stream: No such file or directory in /home/neophyte/public_html/Raven/mainfile.php on line 1357

Warning: main() [function.include]: Failed opening 'includes/nmatch_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/neophyte/public_html/Raven/mainfile.php on line 1357

Fatal error: Cannot redeclare makepass() in /home/neophyte/public_html/Raven/modules/Your_Account/index.php on line 42

Now i have edited the line '1357' but then i still get the error that refers to line 42 in the 'Your_Account/index.php' file.

I tried to change that but i got even more errors so i reinstated things to the first error.

Now i can access the site via admin.php and also look at other sections such as Modules and Forums but i cannot see the homepage [it redirects back to my current site] and also cannot see any account sections - these either return errors or jump to old site.

Reason i have two sites [in case anyone asks] is because my old site was an unstable install but is still running and the new site was a raven install - better security and more stable.

Does anyone have any ideas on this?

I have asked my host if they can perform a rollback on the server and hopefully that will fix it - but does anyone know what is wrong?
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote


gator81
Reputation: 470.1 Add RepSubtract Rep
Local time: 4:02 AM

blank.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Jun 05, 2007
Last Visit: 03 Nov 2008
Posts: 34
Points: 1198 

Post Posted: Thu Jul 05, 2007 7:02 am

I may not be the best to answer this, but I will try to pass on what I have learned.

1. what version of raven nuke are you running? I went to line1357 in the latest release and there is no edits on what I see that would change anything. this is in the mainfile.php file on the root of the site.
2. do you know if the site has the graphix mod installed that will show the graphics? I am not for sure right off hand but there has be be a version that will allow this to run.
3. does your old site have the security?
4. you may find and download analizer or something in that spelling and that will tell you about your setup.

On your second site, you might want to make sure everything is deleted, and all the sql has been moved that you will use for the 2nd site. and do a fresh install, following the directions step by step. I did this for someone else and everything worked for me.

1. created a sql with login/pw
2. I took the long way and unzipped on my machine and uploaded everything
3. I went the the site /install and filled out the info
4 i then had to do something else to get it to write all the sql tables
5 went back and finished the install
6 went into the admin and created a super user, and configed some of the stuff
7. loaded the main page and everything was working

Now i didnt have a userbase to move, or alot of mods to add to this install, but everything seem to work fine.

again i recomend going to http://ravenphpscripts.com and setup you an account and ask there, I have had quick responces to any problems that I have had.

hope some of this helps
 

 
View user's profileSend private message Reply with quote

Ped
Reputation: 64 Add RepSubtract Rep
votes: 35
Local time: 10:02 AM
Location: Great British Empire
uk.gif

Site Founder
Site Founder

2.33 posts per day
Medals: 2 (View more...)
Super Dedicated User (Amount: 1)
Theme Guru
Theme Guru
Joined: Nov 13, 2006
Last Visit: 10 Feb 2012
Posts: 4467
Points: 181246 

Post Re: Posted: Thu Jul 05, 2007 7:18 am

Shop Purchases:
Clan Roster 2.0 · Bad Company 2 Vietnam Xtreme Theme

Nice to see you two working together in resolving this problem Embarrased
 

 
View user's profileSend private messageSend e-mail Reply with quote

gator81
Reputation: 470.1 Add RepSubtract Rep
Local time: 4:02 AM

blank.gif

Spawn Killer
Spawn Killer

0.02 posts per day
Medals: 0

Joined: Jun 05, 2007
Last Visit: 03 Nov 2008
Posts: 34
Points: 1198 

Post Posted: Sun Jul 08, 2007 7:04 pm

ty, I get alot of help so I try to help when I can. :)
 

 
View user's profileSend private message Reply with quote


fext
Reputation: 463.4 Add RepSubtract Rep
Local time: 9:02 AM
Location: The Unknown
uk.gif

Spammer
Spammer

0.06 posts per day
Medals: 0

Joined: Mar 26, 2007
Last Visit: 17 Sep 2007
Posts: 100
Points: 1494 

Post Posted: Mon Jul 09, 2007 8:07 am

Shop Purchases:
Multi Gaming (Warrior) Theme · Clan Roster v1.7 Php Nuke Module ·  · Clan Themes Green PhpNuke Theme

I had to get the host to roll the site back - the more i try to fix the gfx problem the worse it gets.

I will leave it in the hands of the experts i think - that or start over - no way i will do that!
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote
Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » General PhpNuke


 
9 Replies / 4216 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
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 cannot attach files in this forum
You can download files in this forum