Concerning alpha releases...
General rule is to unpack it, run setup_amy_editor.sql script against your database (use `createdb amy_editor_development -E UTF8') - by hand or rake db:migrate in Rails. You should then setup your webserver (in case of PHP) or simply script/server (Rails) and Amy should be available via your browser. You can always use and look at the default Playground project. If you pass the step of successful opening this project, you're practically up and running. If not, leave a message here, I'll try to answer and it'll get sorted somehow :-).
3
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
The best point from the company
-
hi, i tried and it worked for me. i have set up new virtual host on apache as:
<virtualhost>
DocumentRoot /Users/p/Work/Exports/amy_editor_php # Change it to your path
ServerName amy-php-test.imac # change it as well
then go to conf/amy/configuration.php, forget anything you see there (because i'm stupid and left my hosting configuration credentials there:)), put the following code there:
<?php $_AMY_CONF = array('support-path'?>dirname(__FILE__).'/../../support/');
?>
It should be enough to run Amy without database. You can probably use Apache without virtual host settings, just put Amy to DocumentRoot and run http://localhost/ in your browser. I don't know, but it should work as well.
I’m thankful
The company thinks
this is one of the best points
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?very cool project. i downloaded the php source but haveing a bit of problem try8ing to get it to work. i dont have the db set up but just wanted to play around with it but cant seem to get the amy .php to work. says that it is looking for the pg.php in the support folder but is missing.
any help would be nice but great work on this project -
Inappropriate?hi, i tried and it worked for me. i have set up new virtual host on apache as:
<virtualhost>
DocumentRoot /Users/p/Work/Exports/amy_editor_php # Change it to your path
ServerName amy-php-test.imac # change it as well
then go to conf/amy/configuration.php, forget anything you see there (because i'm stupid and left my hosting configuration credentials there:)), put the following code there:
<?php $_AMY_CONF = array('support-path'?>dirname(__FILE__).'/../../support/');
?>
It should be enough to run Amy without database. You can probably use Apache without virtual host settings, just put Amy to DocumentRoot and run http://localhost/ in your browser. I don't know, but it should work as well.
I’m thankful
The company thinks
this is one of the best points
-
Inappropriate?just updated build script, you can re-download it, it should now work right out of the box. if not, please tell me more about yout environment, such as php version, platform etc. It should be able to run on latest PHP 5.2.x version, probably lower one as well (not php4).
-
Inappropriate?Thanks for the update but still got something worng.
I am trying this on my web host so i really don't have any control of how the host is set up.
When i load the site i get the following error.
Fatal error: Call to undefined function pg_escape_string() in /home/jumpo/public_html/amy_editor/lib/amy/support/pg.php on line 78
when i look for that file it does not exist.
also from the code you put above it should look be more like this:
<?php $_AMY_CONF = array('support-path'?>dirname(__FILE__).'/../../support/')
?>
some thing i found when i ran that code.
there is a link to it:
http://www.thakertech.com/amy_editor/
Note i am trying to run this with out the database. -
Inappropriate?ok, it seems like you have no support for postgresql compiled on your webhost. go to the lib/amy/support/pg.php file (!! it's not in the support directory at /home/jumpo/public_html/amy_editor/support, it's under lib subdirectory, you might have got confused here).
the code i've pasted got scrambled by this forum, sorry for that, it should however be fine in updated tarball.
now, in the pg.php file on line 78, replace the line with return $str, for any other error like that, simply look at the code and put something like return; in each affected method. Since you won't be using database anyway, it's only important the code will interpret.
let me know, if anything else occures. -
Inappropriate?ahh yea i might have confused them. Ok i replaced the with just the return $str but now i am getting an empty page.
http://www.thakertech.com/amy_editor/
weird. -
Inappropriate?weird, try putting echo "!" at the end of pg.php file and see if it compiles by visiting the page http://www.thakertech.com/amy_editor/... .
however, it looks like you have 5.0.2 version of php, not quite sure if it'll work with this, they made a bunch of changes in php object model (or lack of it;) since then.
it definitely looks like some issue with php. you can also try to remove leading @ when include, include_once etc is written. put include "dsd" instead of @include. this should yield more errors. -
Inappropriate?well it does compile the page as it prints you something and i am not getting any errors. my server is using php 5.2.5. not sure if that makes any difference.
hmm guess ill try to debug the code some more. -
Inappropriate?try remove @ from includes, focus on amy.php and amy_frame.php in root, then lib/amy.php. it's weird.
-
Inappropriate?it could also be permission problems, apache should have access for writing to cache directory. my fault i haven't provided much installation info, i just grabbed it from svn repos and uploaded it.
-
Inappropriate?ahh thats cool its not biggie kinda fun trying to get this to work lol.
well after playing with it a bit it seems like it does not get past this
$act_as = isset($_REQUEST['act_as']) ? $_REQUEST['act_as'] : 'amy';
if ('facebook' == $act_as)
{
echo "!";
include 'amy_facebook.php';
exit();
}
if ('amy' == $act_as)
{
echo "!";
try
{
include 'amy_frame.php';
}
catch (Exception $e)
{
}
echo "!";
exit();
}
according to this it should print out ! twice at least i am guessing. but it only does so once. i cant see anything in the amy_frame.php file that is stopping the execution. -
Inappropriate?actually no, php cannot catch fatal errors, it ends before amy_frame.php is finished, otherwise it would print the second ; - the error must be somewhere in the included files. you should see it if you'd put all @ before commands out.
-
Inappropriate?well i got it now. after removing the @ from all the function i had to then comments out the db open and close connection code and now it loads right up.
thanks for your help. -
Inappropriate?:) also, there's no support for mime types on your webhost, simply return 'text/plain'; on line 29 of lib/amy/amy_util.php script. and don't forget to remove echo "hello" from your files.
-
Inappropriate?Thank you for this very cool project. At the moment i am hanging at the same problem as crazyindian. Removing the @-signes in front of the includes was not possible because there where no @-signes in amy.php, amy_frame.php of the tarball.
I would be very happy getting the cool editor work. Maybe you could write down a small Install-Instruction.
About my plans--> only need the editor without database. PHP Version 5.0.5 on an Debian-0.8~sarge1
Loading Profile...


EMPLOYEE


