Jump to content
The Uniform Server Community

Pear Installation Problems


Recommended Posts

I am attempting to install the Pear module for ZeroXI. After installation, when I click on the View Pear Frontend link, I get the following error:


Error: the template directory (C:\UniServerZ\home\us_pear/PEAR\data\PEAR_Frontend_Web\data\templates) is not a directory, or not readable. Make sure the 'data_dir' of your config file (C:\UniServerZ\home\us_pear/PEAR\data) points to the correct location !


As I did not install UniServerZ in the root, the paths are obviously wrong. I would have thought that the right paths should have been imported. When I go to pear.conf and put the right path to the server in, I get the error:


Error: PEAR_Config: bad data in C:\Users\Dan\UniServerZ\home\us_pear\pear.conf


My pear.conf file is:

#PEAR_Config 0.9
Link to comment
Share on other sites

  • 1 year later...

I know this is like 2 years later. But I came across the same issue. I noticed that what it serialized was done incorrectly.

echo serialize(array(

Just create a PHP file and put this in it, changing the paths. Make sure it is /temp. Not \temp as well.
Run it and copy that into your config.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...