Installing PEAR and XML_Spreadsheet_Writer

The release 1.6 is going to be unsupported by Community. Because our effort moves ahead. However there are still valuable informations for you.

Installing PEAR and XML_Spreadsheet_Writer

Postby asielb » Thu Feb 22, 2007 10:10 pm

If you need to setup PEAR I have created a document describing the process for doing so on windows. It is located at http://asiel.us/pear.php

Also here are the instructions I wrote for the INSTALL_NOTES as part of Testlink.


========================================
Installing pear
========================================
1. open a command prompt or terminal window
2. If php is not in your path cd to your php install directory (eg. c:\php5)
3. run "pear version" to make sure you have pear installed
3a. Download and run the go-pear script from http://pear.php.net/go-pear
3b. Read http://asiel.us/pear.php for detailed instructions on installing PEAR in windows
3b. If you need additional instructions go to http://pear.php.net/manual/en/installation.getting.php
4. run "pear install -a Spreadsheet_Excel_Writer-beta"
5. This should install the latest version of Spreadsheet_Excel_Writer and its dependencies
Asiel
asielb
TestLink user
 
Posts: 9
Joined: Fri Mar 10, 2006 4:13 pm

Postby Yows » Fri Apr 06, 2007 4:08 pm

I have installed PEAR, and, according to the install of the Spreadsheet_Excel_Writer, installed that properly. But the Testlink Setup (Web) is still saying that said module is not installed. (Windows install)

One thing that was different from the instructions is that the go-pear script did not modify my php.ini. So I modified it myself with the include statement on your Website instructions.

Also:
- I have bounced Apache.
- run an info.php
I see mod_php5, but nothing about PEAR in the "Loaded Modules" this may be expected
I don't see pear in the Apache Environment PATH. But it is in my system path.


Other ideas?
Yows
TestLink user
 
Posts: 4
Joined: Fri Apr 06, 2007 3:31 pm

Postby Yows » Fri Apr 06, 2007 7:28 pm

My apache log files. Looks like it may not be finding the apporpriate file in the install. hmm.


[Fri Apr 06 14:22:04 2007] [error] [client 127.0.0.1] PHP Warning: include_once(Spreadsheet/Excel/Writer.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in C:\\testlink\\install\\installUtils.php on line 559, referer: http://localhost/testlink/install/index.php
[Fri Apr 06 14:22:04 2007] [error] [client 127.0.0.1] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'Spreadsheet/Excel/Writer.php' for inclusion (include_path='.;c:\\php\\pear') in C:\\testlink\\install\\installUtils.php on line 559, referer: http://localhost/testlink/install/index.php
Yows
TestLink user
 
Posts: 4
Joined: Fri Apr 06, 2007 3:31 pm

Postby asielb » Sat Apr 14, 2007 3:11 am

If you look in c:\php\pear what do you see? Are the Spreadsheet writer files there?
Asiel
asielb
TestLink user
 
Posts: 9
Joined: Fri Mar 10, 2006 4:13 pm


Return to TestLink 1.6 (closed)



Who is online

Users browsing this forum: No registered users and 2 guests

cron