NuSphere Forums Forum Index
NuSphere Forums
Reply to topic

Is the PDFLib site helpful in setting up PDFLib for win2000?
yes
50%
 50%  [ 1 ]
no
50%
 50%  [ 1 ]
Total Votes : 2

PDF production via PHP


Joined: 10 Jan 2004
Posts: 14
Reply with quote
Can't get this to function.

Here's the error:

X-powered by php/4.06 content-type text/html
Fatal error: Call to undefined function pdf_new() in program
files/nusphere/apache/htdocs/php_php/jim.php on line 4

I've uncommented the line in the php.ini but it dosen't work.

Any help?
View user's profileFind all posts by surfishSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7885
Reply with quote
Make sure you have either php_cpdf.dll or php_pdf.dll installed.

Without a proper extension installed, php can't run any function from it.

pdf_new() is just a case.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Jan 2004
Posts: 14
Reply with quote
Pls,

I'm not even sure where these need to go---babysteps please.

Doesn't the 3.1 version have everything?

If not, can you let me know what to do.

I feel as if I shouldn't have to do much after installing your product.
View user's profileFind all posts by surfishSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7885
Reply with quote
I believe that a better source of information for beginners is www.php.net site.

Briefly,
you have to
a) locate where your php.ini file. Hint: run phpinfo() function and inspect the topmost header
b) edit php.ini with your favorite editor. Hint: you'll see many commented out extension= statements. Try to locate necessary extension beside them then if found just uncomment, if not found, add one by your self.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Jan 2004
Posts: 14
Reply with quote
Already uncommented out the line for pdflib in the php.ini. Did that a few days ago.

I'm asking if the nusphere product has any known issues with producing pdf's as it doesn't seem to work.

I got an error message which directed me to pdflib where there is no version of pdflib available for the version of php (4.06) in nusphere!

Please tell me if there's an issue here so I can investigate another approach.
View user's profileFind all posts by surfishSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7885
Reply with quote
why 4.0.6 ?
TechPlatform 3.1 which is available from the site for months, contains php-4.3 and it contains php_pdf.dll that does not require any external pdf library, at least as far as I know.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
upgrade


Joined: 10 Jan 2004
Posts: 14
Reply with quote
How do I upgrade? Does it cost anything?
View user's profileFind all posts by surfishSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7885
Reply with quote
nope. It's a free product.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Jan 2004
Posts: 14
Reply with quote
Ahhh, music to my ears! Thanks, downloaded it will try again. Very Happy
View user's profileFind all posts by surfishSend private message


Joined: 10 Jan 2004
Posts: 14
Reply with quote
Do I have to upgrade phpEd or can I use my previous version?

Should I deinstall all of the former platform, or is there a graceful upgrade process?
View user's profileFind all posts by surfishSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7885
Reply with quote
Quote:
Do I have to upgrade phpEd or can I use my previous version?

Do you mean when you use TechPlatform or what ?

TechPlatform is a self-contained product and does not require any other tools Smile.

Quote:
Should I deinstall all of the former platform, or is there a graceful upgrade process?


Yes, before install a new TechPlatform the previous version should be backed up and uninstalled. You'd take care of configuration files and mysql data directory (if you have mySQL installed).
After new version installed, you'd check if you have everything working good and then restore mysql data, then check if you need to make any corrections in httpd.conf (do not overwrite it without clear understanding)
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 10 Jan 2004
Posts: 14
Reply with quote
Does the previous version of phped work with this or will I need to upgrade?
View user's profileFind all posts by surfishSend private message
PDF production via PHP
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
All times are GMT - 5 Hours  
Page 1 of 3  

  
  
 Reply to topic