Fatal Error on Step 16, and Aspell/PSpell issues

I'm having trouble installing on OSX 10.3.4 with a fatal error on Step 16. I've followed all the instructions and it seemed to all be running OK, but now I have a fatal error. The only thing I had problems with initially was PSpell not showing up. I installed Aspell, the library and the english dictionary but it still didn't show up in Step 4 (keeps telling me PSpell isn't there, but Aspell is?) so I just ignored it. I did read the thread here on permissions, and my permissions are all correct. There might be an issue with which directory Apsell gets put into on the mac, Aspell is in sw/share/aspell, everthing else is in lib/php


Other than that everything worked until this fatal error 16



Can anyone tell me what this means?



Fatal error: Call to undefined function: quoteidentifier() in /Users/matt/Sites/mysource_matrix_3-2-0/core/include/asset_manager.inc on line 292



After the fatal error came up everything stopped, so I clicked "back" in my browser, and now whenever I try and run this step again I get a javascript popup saying this step is being processed.



What should I do?



Many thanks,

Matt

What version of PEAR::DB are you using?

Here's the details:


Archive_Tar 1.2 stable

Console_Getopt 1.2 stable

DB 1.6.8 stable

Mail 1.1.4 stable

Mail_Mime 1.2.1 stable

Net_SMTP 1.2.6 stable

Net_Socket 1.0.2 stable

PEAR 1.3.3.1 stable

PHPUnit 1.1.1 stable

XML_HTMLSax 2.1.2 stable

XML_Parser 1.2.1 stable

XML_RPC 1.1.0 stable

quoteidentifier is something out of PEAR:DB, so it looks like something's gone a bit hazy with your PEAR install.

Any tips on how I can "de-haze" my pear install?
:wink:



Thanks,

Matt

If PEAR::DB is the problem you could either pear uninstall and then pear install it again. Although if a function is missing and you're not getting parser errors… Doesn't sound good.


You could always download the archive for the version that MSM is listing as it's minimum requirement and install by hand.

This is all brand spanking new to me - could you explain how I install the archive version? I don't really know how to install it, let alone do it by hand.


Any instruction most welcome! I'm very keen to see the software in action - if only I can get it installed.



Thanks,

Matt

Hit http://pear.php.net/DB and you’ll find tarballs of each version. Just download the required version and extract it to your pear directory. You can find this by using the pear command to display the current config.

take a look at fink - http://fink.sf.ne. This can help you manage things like aspell and other source/binary destributions similar to apt-get or emerge on linux platforms. Then you can do things like

    fink install aspell
and later keep them up to date.


I am not saying that the problem is due to aspell being wrongly installed, just suggesting an extra tool to help you manage the Matrix on the Mac a bit easier.



As to downloading the PEAR module as an archive, I do not think it will solve the problem.



Try doing the manual install, i.e. not the Web Installer.

also you might want to take a look at this - http://au3.php.net/pspell

Yes I've got fink installed, it tells me that I have everything needed for aspell. Fink was even nice enought to tell me what dependent files would be required and downloaded those too (the lib and a dictionary).



I'll try the manual install…



Thanks,

Matt

Ummm one really dumb question - where are the instructions for a manual install? I can only see instructions on the site for using the web installer…


Sorry if this is really obvious, but I can't see any info on doing it manually.



Sheesh if I can't even find the link I don't fancy my chances of getting it to install manually!

:wink:



Thanks,

Matt

You can find the instructions here.


If it makes you feel better, the manual install is only explained on the forums, and not on the official Matrix website.

did you use the --with-pspell[=dir] option when compiling PHP?

I used Mark Liyanage's Entropy PHP installer (4.3.9)

http://www2.entropy.ch/



and I simply couldn't tell you what was switched on or off. (Way beyond my expertise, I'm just trying to get MySource running so I can show it to "the powers that be" at work to show them a CMS alternative to what they are doing now with their site)



I have installed Aspell using Fink, my system sees it, but the intaller doesn't.



BUT: I installed PHP 4.3.9 and reinstalled PEAR and this is the NEW error I am getting:



Fatal error: main(): Failed opening required 'Cache.php' (include_path='.:/Users/matt/Sites/mysource_matrix_3-2-0/php_includes:/usr/local/php/lib/php') in /Users/matt/Sites/mysource_matrix_3-2-0/core/assets/system/cache_manager/cache_manager.inc on line 26



Regards,

Matt

You need to install the PEAR cache module.

if you have further questions, please create a php file called phpinfo.php and put this inside

    <?php phpinfo() ?>

Place this file into your web root and access it via browser. You should get a long page with all your php config.

Save the output as HTML document and attach that document to your next post. This will make a few issues clear.

I have Cache module 1.5.4 stabe showing as the version installed. I also made sure to install the dependent files, but even though I've done the re-install twice since then (and restarted Apache each time) I still get this error. Is there a reason it can't see the cache module?


I'll keep trying every suggestion you can throw at me!



Keep them coming,



Thanks.

Matt

Here's my php info file.
phpinfo.html (50.4 KB)

also, please post the output of the following terminal command:

    pear config-show