| Author |
Message |
vjg
Captain


Joined: Oct 26, 2003
Posts: 553
|
Posted:
Thu Jan 08, 2004 6:50 am |
  |
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 |
|
|
   |
 |
Deuce868
Nuke Soldier


Joined: Jan 07, 2004
Posts: 11
|
Posted:
Thu Jan 08, 2004 7:01 am |
  |
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. |
|
|
   |
 |
Prism128
Sergeant


Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
|
Posted:
Fri Jan 16, 2004 12:11 pm |
  |
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 |
|
|
       |
 |
vjg
Captain


Joined: Oct 26, 2003
Posts: 553
|
Posted:
Fri Jan 16, 2004 10:49 pm |
  |
windows or linux? version of php? who's hosting your server?
- Virgil |
_________________
 |
|
   |
 |
Prism128
Sergeant


Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
|
Posted:
Sat Jan 17, 2004 2:56 am |
  |
windows xp, php version "PHP 4.3.4 - WIN32"
I host it on my computer |
_________________
 |
|
       |
 |
vjg
Captain


Joined: Oct 26, 2003
Posts: 553
|
Posted:
Sat Jan 17, 2004 8:48 am |
  |
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 |
|
|
   |
 |
Prism128
Sergeant


Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
|
Posted:
Sat Jan 17, 2004 12:51 pm |
  |
thanks mate your the man!! It workded!!
Prism128 |
|
|
       |
 |
Luckystrike
Private


Joined: Jan 26, 2004
Posts: 42
Location: New York
|
Posted:
Mon Jan 26, 2004 10:54 am |
  |
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 |
|
       |
 |
Prism128
Sergeant


Joined: Jan 01, 2004
Posts: 88
Location: Where they won't find me...
|
Posted:
Tue Jan 27, 2004 1:03 pm |
  |
|
       |
 |
ShareInfo
Nuke Cadet


Joined: Feb 12, 2004
Posts: 5
|
Posted:
Thu Feb 12, 2004 3:24 pm |
  |
Hi.
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  |
|
|
    |
 |
djmillett
Nuke Cadet


Joined: May 28, 2003
Posts: 7
|
Posted:
Sat Mar 06, 2004 2:55 pm |
  |
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? |
|
|
    |
 |
billybiker
Private


Joined: Apr 30, 2003
Posts: 43
|
Posted:
Mon Mar 08, 2004 10:21 am |
  |
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? |
|
|
   |
 |
vjg
Captain


Joined: Oct 26, 2003
Posts: 553
|
Posted:
Mon Mar 08, 2004 11:17 am |
  |
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 |
_________________
 |
|
   |
 |
billybiker
Private


Joined: Apr 30, 2003
Posts: 43
|
Posted:
Mon Mar 08, 2004 7:59 pm |
  |
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 |
|
|
   |
 |
reptix
Nuke Soldier


Joined: Dec 26, 2003
Posts: 21
|
Posted:
Tue Mar 09, 2004 4:52 am |
  |
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; 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 :: |
|
      |
 |
|
|