Amy Pear Requirements
What Pear packages are required for embedded amy? I am trying to set up a minimal amy editor using the POW Firefox extention, but when I try to load amy I get errors like these:
PHP Notice: Undefined index: language in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 6
PHP Notice: Undefined index: HTTP_HOST in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 15
PHP Warning: include(C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed/../../lib/amy/library.php) [function.include]: failed to open stream: No such file or directory in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 19
PHP Warning: include() [function.include]: Failed opening 'C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed/../../lib/amy/library.php' for inclusion (include_path='.;C:\php5\pear') in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 19
PHP Fatal error: Class 'YAML' not found in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 53
Thanks
PHP Notice: Undefined index: language in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 6
PHP Notice: Undefined index: HTTP_HOST in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 15
PHP Warning: include(C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed/../../lib/amy/library.php) [function.include]: failed to open stream: No such file or directory in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 19
PHP Warning: include() [function.include]: Failed opening 'C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed/../../lib/amy/library.php' for inclusion (include_path='.;C:\php5\pear') in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 19
PHP Fatal error: Class 'YAML' not found in C:\Documents and Settings\XXXXXXXXXXXXXXX\Application Data\Mozilla\Firefox\Profiles\default.syt\pow\htdocs\amy\api\embed\amy.php on line 53
Thanks
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?There are no PEAR packages used. The error messages only display in what paths they're looking for given file (library.php). Check if it's where it says it should be. If so, I haven't really check installation on Windows PHP distro, just correct it how it's usually done. I don't remember PHP development on Windows machine, it's too long since I've done it.
-
Inappropriate?library.php is apparently not included in the alpha distribution. I certainly couldn't find it in my download. How can I get a copy?
JAS -
Inappropriate?i have found a solution:
replace the line in amy/api/embed/amy.php which includes the include.php (around line 19) with
include $__dn.'lib/amy.php';
and the magic happens.
watch out, if you include the prototype lib in your code, amy will break =(
I’m frustrated but eager to have newer releases
-
yes, prototype library cannot be used along with amy. it uses my own Fry JavaScript Framework, and there are naming collisions. It's the same with combining mootools and prototype etc.
There's no easy way of solving it. Both prototype and Fry were uknown of each other at the very similar time of their creation and the $ for core element function is simply too popular :).
Loading Profile...



EMPLOYEE
