You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 48 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Security Image Not Showing [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
vjg
Captain
Captain


Joined: Oct 26, 2003
Posts: 553


PostPosted: Thu Jan 08, 2004 6:50 am Reply with quoteBack to top

It's spitting out this:
Code:
<br />
<b>Warning</b>:  imagecreatefromjpeg(images/admins/code_bg.jpg): failed to open stream: No such file or directory in <b>/home/virtual/site333/fst/var/www/html/admin.php</b> on line <b>112</b><br />
<br />
<b>Warning</b>:  imagecolorallocate(): supplied argument is not a valid Image resource in <b>/home/virtual/site333/fst/var/www/html/admin.php</b> on line <b>113</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/virtual/site333/fst/var/www/html/admin.php:112) in <b>/home/virtual/site333/fst/var/www/html/admin.php</b> on line <b>115</b><br />
<br />
<b>Warning</b>:  imagestring(): supplied argument is not a valid Image resource in <b>/home/virtual/site333/fst/var/www/html/admin.php</b> on line <b>116</b><br />
<br />
<b>Warning</b>:  imagejpeg(): supplied argument is not a valid Image resource in <b>/home/virtual/site333/fst/var/www/html/admin.php</b> on line <b>117</b><br />
<br />
<b>Warning</b>:  imagedestroy(): supplied argument is not a valid Image resource in <b>/home/virtual/site333/fst/var/www/html/admin.php</b> on line <b>118</b><br />
possibly a permissions thing or a missing background image.
have to run. Will check back later tonight.

- Virgil
Find all posts by vjgView user's profileSend private message
Deuce868
Nuke Soldier
Nuke Soldier


Joined: Jan 07, 2004
Posts: 11


PostPosted: Thu Jan 08, 2004 7:01 am Reply with quoteBack to top

ah, I know what this is then. My host uses an admin folder for control panel items so I had to change the phpnuke admin folder to admins. I just did a nice search and replace across the files to fix it all, but it messed up the image directory /images/admin/ called in the admin.php file.

My fault in the end. Thank again for all the help.
Find all posts by Deuce868View user's profileSend private message
Prism128
Sergeant
Sergeant


Joined: Jan 01, 2004
Posts: 88

Location: Where they won't find me...

PostPosted: Fri Jan 16, 2004 12:11 pm Reply with quoteBack to top

how do i install/enable the gd extensions?

a) where do i download them, or
b) where is the file where i enable them ?

Thanks,
Prism128
Find all posts by Prism128View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
vjg
Captain
Captain


Joined: Oct 26, 2003
Posts: 553


PostPosted: Fri Jan 16, 2004 10:49 pm Reply with quoteBack to top

windows or linux? version of php? who's hosting your server?

- Virgil

_________________
Image
Find all posts by vjgView user's profileSend private message
Prism128
Sergeant
Sergeant


Joined: Jan 01, 2004
Posts: 88

Location: Where they won't find me...

PostPosted: Sat Jan 17, 2004 2:56 am Reply with quoteBack to top

windows xp, php version "PHP 4.3.4 - WIN32"
I host it on my computer

_________________
Image
Find all posts by Prism128View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
vjg
Captain
Captain


Joined: Oct 26, 2003
Posts: 553


PostPosted: Sat Jan 17, 2004 8:48 am Reply with quoteBack to top

You probably already have it installed, but you need to turn it on.

In your php.ini file, uncomment (by removing the leading semi-colon) the gd library extension like so:
Code:
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll
;extension=php_iconv.dll

- Virgil
Find all posts by vjgView user's profileSend private message
Prism128
Sergeant
Sergeant


Joined: Jan 01, 2004
Posts: 88

Location: Where they won't find me...

PostPosted: Sat Jan 17, 2004 12:51 pm Reply with quoteBack to top

thanks mate your the man!! It workded!!

Prism128
Find all posts by Prism128View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
Luckystrike
Private
Private


Joined: Jan 26, 2004
Posts: 42

Location: New York

PostPosted: Mon Jan 26, 2004 10:54 am Reply with quoteBack to top

Hi All ; Just wanted to say thanks to everyone here! I've learned a long time ago that reading a forum before posting a question thats probably been answered a million times, is a smart thing to do. Well I had an interesting problem similar to some of you above.; where the security image would show up only when logged in as admin. I did all the things listed at the beginning of this thread to no evail. I didn't want to add the security mod as mentioned so I kept plugging along.
• Turning the "My_Accout" module to "All Visitors" was the answer!
DUHHHHHH!

Should have known when i tried to log in and it said

"You are trying to access a restricted area.

We are Sorry, but this section of our site is for Registered Users Only.

You can register for free by clicking here, then you can
access this section without restrictions. Thanks."

Thanks!

_________________
/// LuckyStrike
Find all posts by LuckystrikeView user's profileSend private messageSend e-mailAIM AddressYahoo MessengerICQ Number
Prism128
Sergeant
Sergeant


Joined: Jan 01, 2004
Posts: 88

Location: Where they won't find me...

PostPosted: Tue Jan 27, 2004 1:03 pm Reply with quoteBack to top

I have released a How-To on this site here:

http://nuke.schoper.net

See the guide here:

http://nuke.schoper.net/postt84.html

I hope this will be useful for some of you.

Prism128
Find all posts by Prism128View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
ShareInfo
Nuke Cadet
Nuke Cadet


Joined: Feb 12, 2004
Posts: 5


PostPosted: Thu Feb 12, 2004 3:24 pm Reply with quoteBack to top

Hi. Cool

Have the same problem.

I just moved to a new host, and reinstalled PHPNuke ver 6.8. Everyhting seems to be ok, but I can't get the security images or the text for the security code to show. This goes both for the user login and admin login.

Followed most of the steps already provided in this thread without no luck so far. I tried the fix here with changing from jpeg to gif, but no luck. Could not find any extra lines or spaces in my config.php.

Where do I find the analyzer to check that my host support GD?

Cheers.. ShareInfo Wink
Find all posts by ShareInfoView user's profileSend private messageVisit poster's website
djmillett
Nuke Cadet
Nuke Cadet


Joined: May 28, 2003
Posts: 7


PostPosted: Sat Mar 06, 2004 2:55 pm Reply with quoteBack to top

I just did a fresh install of 7.1 and most people have been able to register just fine but a couple people now have not because the security code didn't show up. I have worked with one of the people and made sure their browser is current and they are using IE but still no luck.

Any ideas what would cause this for just some people?
Find all posts by djmillettView user's profileSend private messageVisit poster's website
billybiker
Private
Private


Joined: Apr 30, 2003
Posts: 43


PostPosted: Mon Mar 08, 2004 10:21 am Reply with quoteBack to top

I'm using 6.9 with latest security updates and have tried and tried with this problem
Analyze.php does'nt even show the security code, my get around has been to tell visitors to get the image url and pull it in a browser.

Now my normal OS is Microcrappy IE6 but SHaZaam use Mozilla Firebird and there is no problem Image shows every time.

So is this an IE problem as opposed to cussing Nuke all the time?
Find all posts by billybikerView user's profileSend private message
vjg
Captain
Captain


Joined: Oct 26, 2003
Posts: 553


PostPosted: Mon Mar 08, 2004 11:17 am Reply with quoteBack to top

Analyzer is available through a link on the main page of this web site. Top center. Look for "Analyzer main".

I don't know of any reason why IE wouldn't be showing images from your site. I haven't had an problem with it showing images from my site.

Perhaps you have some code in your site that is doing something different when IE6 is the client and that is getting into the stream of the image. If so, the gfx function fixes shown in this thread should eliminate that.

Meanwhile, what is your site so we can see what it's doing?

- Virgil

_________________
Image
Find all posts by vjgView user's profileSend private message
billybiker
Private
Private


Joined: Apr 30, 2003
Posts: 43


PostPosted: Mon Mar 08, 2004 7:59 pm Reply with quoteBack to top

Arr virgil I totally forgot yea I do have a bit of code in it lets just say Lycos, moving to paid hosting next week all being well so things should improve no end.
message sent
Find all posts by billybikerView user's profileSend private message
reptix
Nuke Soldier
Nuke Soldier


Joined: Dec 26, 2003
Posts: 21


PostPosted: Tue Mar 09, 2004 4:52 am Reply with quoteBack to top

TY SO MUCH RAVEN it was the extra blank lines! My portal users WERE going CRAZY! another way you can fix this on 7.0 and 7.0 maybe 6.9 in the config set $gfx_chk = 0; Laughing I feel imbarresed!
LOL thank you, I ow you one! it all the suden added those lines i had to delte them like you said anway i could stop them from coming back?? Thnak you AGaIN!

_________________
:: ReptiX ::
Find all posts by reptixView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.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: 0.649 Seconds - 174 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::