How to add a user to the ignore list?
JPGrapgh and GD Library SAMBAR server
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > PHP web-programming > JPGrapgh and GD Library SAMBAR server 10 May 2008 22:50:07

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

JPGrapgh and GD Library SAMBAR server

Christopher J. Crane 10 May 2008 22:50:07
 I recently installed and got working the GD library under a Windows 2K
server running SAMBAR server as the web server. I got a simple test script
to try to be sure the GD Library was working and it is and I am able to
output images in PNG JPEG and GIF formats.

My problem is that I can not get the JPGraph scripts running correctly. I
get error messages such as:
Warning: Undefined index: gd2 in ../jpgraph.php on line 3418

Warning: Undefined index: gd2 in ../jpgraph.php on line 3343

Warning: Undefined index: gd2 in ../jpgraph.php on line 3343

Warning: Undefined index: gd2 in ../jpgraph.php on line 3343

Warning: Undefined index: gd2 in ../jpgraph.php on line 3343

Warning: Cannot add header information - headers already sent by (output
started at ../jpgraph.php:3418­) in ../jpgraph.php on line 4257
?PNG

I am not sure what I am doing wrong. I would like to use JPGraph because of
the nice graphs I have seen on his website. Any help would be great.



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Andy 20 June 2002 21:34:57 permanent link ]
 Hi Christopher,

it seems to me that you have gd1.8 enabled but jdgraph in you version
requires gd2.

Check your php.ini if the propper library is activated.

Hope this helps,

Andy
--
-------------------­--------------------­-------------
http://www.globosap­iens.net
Global Travellers Network!



"Christopher J. Crane" <ccrane@inxdesign.c­om> schrieb im Newsbeitrag
news:20020620024631­.27071.qmail@pb1.pai­r.com...> I recently installed and got working the GD library under a Windows 2K> server running SAMBAR server as the web server. I got a simple test script> to try to be sure the GD Library was working and it is and I am able to> output images in PNG JPEG and GIF formats.>
My problem is that I can not get the JPGraph scripts running correctly. I> get error messages such as:> Warning: Undefined index: gd2 in ../jpgraph.php on line 3418>
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343>
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343>
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343>
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343>
Warning: Cannot add header information - headers already sent by (output> started at ../jpgraph.php:3418­) in ../jpgraph.php on line 4257> ?PNG>
I am not sure what I am doing wrong. I would like to use JPGraph because
the nice graphs I have seen on his website. Any help would be great.>



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Nico Jansen - NiRo IT Consultants B.V. 21 June 2002 02:04:06 permanent link ]
 Hi Christopher,

I think that we have the same configuration. I'm running PHP with the SAMBAR server as well and the JP Graph module is working OK with me so it should be working.
Have you tried the JP Graph - testsuit : On my notebook ( W2K ) I installed it at http://localhost/jp­graph-1.6.1/src/Exam­ples/testsuit_jpgrap­h.php


Hopes this help :

Good Luck N:-J
www.niro-it.nl

My phpini looks like this:

include_path=.

[PHP]
extension=php_gd.dl­l

My modifications in jpgraph.php for my configuration:
// The full absolute name of directory to be used as a cache. This directory MUST
// be readable and writable for PHP. Must end with '/'
DEFINE("CACHE_DIR",­"/db/njhome/jpgraph-­1.6.1/jpgraph_cache/­");

// The URL relative name where the cache can be found, i.e
// under what HTTP directory can the cache be found. Normally
// you would probably assign an alias in apache configuration
// for the cache directory.
DEFINE("APACHE_CACH­E_DIR","/jpgraph-1.6­.1/jpgraph_cache/");­

// Directory for TTF fonts. Must end with '/'
DEFINE("TTF_DIR","/­dv/fonts/jpgttf/ttf/­");



PHPinfo looks like this:
PHP Version 4.1.1

System Windows NT 5.0 build 2195
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
JPG Support enabled
PNG Support enabled
WBMP Support enabled



SERVER["SERVER_SOFTWARE"] SAMBAR 5.0


"Andy" <news.letters@gmx.d­e> wrote in message news:20020620183336­.97637.qmail@pb1.pai­r.com...> Hi Christopher,>
it seems to me that you have gd1.8 enabled but jdgraph in you version> requires gd2.>
Check your php.ini if the propper library is activated.>
Hope this helps,>
Andy> --> -------------------­--------------------­-------------> http://www.globosap­iens.net> Global Travellers Network!>
"Christopher J. Crane" <ccrane@inxdesign.c­om> schrieb im Newsbeitrag> news:20020620024631­.27071.qmail@pb1.pai­r.com...> > I recently installed and got working the GD library under a Windows 2K> > server running SAMBAR server as the web server. I got a simple test script> > to try to be sure the GD Library was working and it is and I am able to> > output images in PNG JPEG and GIF formats.> >
My problem is that I can not get the JPGraph scripts running correctly. I> > get error messages such as:> > Warning: Undefined index: gd2 in ../jpgraph.php on line 3418> >
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343> >
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343> >
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343> >
Warning: Undefined index: gd2 in ../jpgraph.php on line 3343> >
Warning: Cannot add header information - headers already sent by (output> > started at ../jpgraph.php:3418­) in ../jpgraph.php on line 4257> > ?PNG> >
I am not sure what I am doing wrong. I would like to use JPGraph because> of> > the nice graphs I have seen on his website. Any help would be great.> >
-- > PHP General Mailing List (http://www.php.net­/)> To unsubscribe, visit: http://www.php.net/­unsub.php>
Add comment
Guest 10 May 2008 22:50:07 permanent link ]
 i have jpgraph how do i show the graph as hyperlink
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > PHP web-programming > JPGrapgh and GD Library SAMBAR server 10 May 2008 22:50:07

see also:
Invalid Settings file created when…
accessing contents of a node's popup…
Some I.B.M. Software Tools to Be Put in…
пройди тесты:
see also:
About
Hello
So....I am good girl

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .