Post by krbmedia » Mon Apr 20, 2009 12:17 pm

When I try to use the export module, I get the following error.

Warning: require_once(PEAR.php) [function.require-once]: failed to open stream: No such file or directory in /home/www/MYDOMAIN.com/admin/Spreadsheet/Excel/Writer.php on line 35

Fatal error: require_once() [function.require]: Failed opening required 'PEAR.php' (include_path='.:/usr/local/php5/lib/php') in /home/www/MYDOMAIN.com/admin/Spreadsheet/Excel/Writer.php on line 35

Any ideas why?

Newbie

Posts

Joined
Tue Oct 09, 2007 11:51 am

Post by tommix » Thu Apr 23, 2009 2:24 am

why? cause it cannot find file that's why :)

Active Member

Posts

Joined
Mon Apr 20, 2009 5:21 am

Post by krbmedia » Thu Apr 23, 2009 9:53 am

So how do I fix it? I'm a newbie.

Newbie

Posts

Joined
Tue Oct 09, 2007 11:51 am

Post by JNeuhoff » Thu Apr 23, 2009 5:47 pm

The Export/Import module requires the PHP PEAR library to be pre-installed on your web server. On most web hosts this is normally the case. If your webhost has the cPanel, log into it and scroll down to the Software / Services section where you should find the PHP PEAR Packages link.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by krbmedia » Thu Apr 23, 2009 8:12 pm

This is what the hosting company said but I don't understand it.

The PEAR is already installed on the server and you can check this here:
http://phpinfo.supremecenter103.com/

If you need specific PEAR module, do not forget that you can upload it in your hosting account, configure your scripts and include the module path in the php.ini file located in folder /sys/php4/ or /sys/php5/ (depends from the PHP settings applied for your hosting account.

Newbie

Posts

Joined
Tue Oct 09, 2007 11:51 am

Post by phpuk » Thu Apr 23, 2009 8:18 pm

Hi,

Ask them to supply you with the full path to PEAR.php.

Phil.

Global Moderator

Posts

Joined
Wed Mar 25, 2009 10:57 am
Who is online

Users browsing this forum: No registered users and 27 guests