dreamhost and validation image problem

Register an Account
Pligg Chat Room
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2006, 04:15 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 31
when i register as a new user,at the final step:

Please enter the number provided in the image below.

that image wont shows up,should i chg any code?
or just dreamhost problem ??

i am using beta 5 (not smarty version)
Reply With Quote
  #2 (permalink)  
Old 01-22-2006, 05:36 AM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 3,803
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
It must be specific to your server. I use a dreamhost account for testing purposes and it seems to work fine with a slightly older 5.8 release. Check and see if all of your GD functions are enabled using the info.php file.
Reply With Quote
  #3 (permalink)  
Old 01-22-2006, 06:03 AM
Casual Pligger
 
Join Date: Jan 2006
Posts: 31
i use info to check GD funtion
and it shows

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

all funtions enabled
what's the prob??
Reply With Quote
  #4 (permalink)  
Old 01-23-2006, 01:29 AM
New Pligger
 
Join Date: Jan 2006
Posts: 6
I'm having the same problem with Pligg_Beta_5.8.rar doenloaded yesterday. Fedora Core 3.

Here is the error in the /var/logs/httpd/error_log file

This is what I get just clicking on the register link

[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_Search_SearchOf already defined in /home/www/openfree-pligg/libs/options.php on line 21, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_Search_SearchOf already defined in /home/www/openfree-pligg/libs/options.php on line 22, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_User_Navbar already defined in /home/www/openfree-pligg/libs/options.php on line 148, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_User_Navbar already defined in /home/www/openfree-pligg/libs/options.php on line 149, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_User_Navbar already defined in /home/www/openfree-pligg/libs/options.php on line 150, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: id in /home/www/openfree-pligg/register.php on line 15, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/register.php on line 16, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: search in /home/www/openfree-pligg/register.php on line 17, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: search in /home/www/openfree-pligg/libs/html1.php on line 27, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined property: user_level in /home/www/openfree-pligg/libs/utils.php on line 133, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined property: user_level in /home/www/openfree-pligg/libs/utils.php on line 133, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/libs/html1.php on line 54, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/libs/html1.php on line 54, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/libs/html1.php on line 54, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/libs/html1.php on line 54, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/libs/html1.php on line 54, referer: http://opennews.openfree.org/
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/libs/html1.php on line 54, referer: http://opennews.openfree.org/




This is what I get just clicking after entering the registration information and clicking "create user"





[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_Search_SearchOf already defined in /home/www/openfree-pligg/libs/options.php on line 21, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_Search_SearchOf already defined in /home/www/openfree-pligg/libs/options.php on line 22, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_User_Navbar already defined in /home/www/openfree-pligg/libs/options.php on line 148, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_User_Navbar already defined in /home/www/openfree-pligg/libs/options.php on line 149, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Constant PLIGG_Visual_User_Navbar already defined in /home/www/openfree-pligg/libs/options.php on line 150, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined index: id in /home/www/openfree-pligg/register.php on line 15, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined index: category in /home/www/openfree-pligg/register.php on line 16, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined index: search in /home/www/openfree-pligg/register.php on line 17, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined index: search in /home/www/openfree-pligg/libs/html1.php on line 27, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined property: user_level in /home/www/openfree-pligg/libs/utils.php on line 133, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined property: user_level in /home/www/openfree-pligg/libs/utils.php on line 133, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Use of undefined constant HTTP_USER_AGENT - assumed 'HTTP_USER_AGENT' in /home/www/openfree-pligg/libs/ts.php on line 12, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Notice: Undefined variable: sitekey in /home/www/openfree-pligg/libs/ts.php on line 12, referer: http://opennews.openfree.org/register
[client 216.10.119.242] PHP Fatal error: Call to undefined function: imagefontwidth() in /home/www/openfree-pligg/libs/ts.php on line 21, referer: http://opennews.openfree.org/register


Any help welcome
Reply With Quote
  #5 (permalink)  
Old 01-23-2006, 01:54 AM
New Pligger
 
Join Date: Jan 2006
Posts: 6
FYI. I downloaded the rar file from sourceforge. Not here.
Reply With Quote
  #6 (permalink)  
Old 01-23-2006, 01:45 PM
Casual Pligger
 
Join Date: Jan 2006
Posts: 31
i solve this probelm
after i d/l beta 5.8 and check the ts_image.php code there are something different

here's original beta5 ts_image.php code

<?php
include('config.php');
include('ts.php');
ts_gfx($_GET['ts_random']);
?>

then chg it like beta5.8 does

<?php
//include('config.php');
include('libs/ts.php');
ts_gfx($_GET['ts_random']);
?>

that's ok
Reply With Quote
  #7 (permalink)  
Old 01-23-2006, 06:57 PM
New Pligger
 
Join Date: Jan 2006
Posts: 6
Sadly, that doesn't solve my problem.

I'm using 5.8 and still get the same issue. I tried uncommenting the include, same problem.
Reply With Quote
  #8 (permalink)  
Old 01-25-2006, 01:21 PM
New Pligger
 
Join Date: Jan 2006
Posts: 6
Found the pronblem: Had to install the php-gd package
Reply With Quote
  #9 (permalink)  
Old 01-25-2006, 03:10 PM
Yankidank's Avatar
Pligg Founder/Coder/Designer
Pligg Version: SVN
Pligg Template: Wistie
 
Join Date: Dec 2005
Location: Ocala, FL
Posts: 3,803
Send a message via AIM to Yankidank Send a message via Skype™ to Yankidank
I knew it was GD!
Reply With Quote
  #10 (permalink)  
Old 02-01-2006, 02:47 PM
New Pligger
 
Join Date: Jan 2006
Posts: 11
Any other solutions to this?

I've checked my GD and everything seems fine.


My ts_image.php shows the following:

<?php
include('config.php');
include(mnminclude.'ts.php');
ts_gfx($_GET['ts_random']);
?>

Last edited by johnbmtl; 02-01-2006 at 02:57 PM.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
why can't show validation image? manboo Questions and Comments 1 08-22-2006 07:05 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development