Jump to content
Larry Ullman's Book Forums


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About kenoli

  • Rank
  1. I'm mystified but seem to have created a site structure. Terminal will not run yiic. I get a "command not found" error. According to some forum posts, this probably means there is some issue, maybe line endings or some permission issue, I could never track down. When I include the entire path to the file, it runs with the php error indicated above. I guess all yiic is doing is running the yiic.php script, since I get the same thing when I run php yiic.php from the command line as indicated above. So, abandon the yiic terminal app as unneeded. The error message when I ran yiic.
  2. When I put it outside of the site folder and try to open it in Coda, it simply reads it as if it were a text files as it only interprets php scripts from within th site folder.
  3. When I put framework in the XAMPP htdocs directory and try to run it from the command line I get this error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/newrelic.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/newrelic.so, 9): image not found in Unknown on line 0 Yii command runner (based on Yii v1.1.15) Usage: framework/yiic.php <command-name> [parameters...] The following commands are available: - message - migrate - shell - webapp To see individual command help, use the following: framework/yi
  4. Larry -- Thanks. I'm feeling very clueless here. I'm using xampp to implement php on my mac. Normally, I use CODA to write php scripts. I set up a site in Coda with the framework file in it and tried to run yii by opening and previewing yiic.php from within Coda and it says I don't have permissions to run it. I can't run it from the command line as the system doesn't seem to know how to run php scripts using xampp, or I guess that is why it won't run. from within Coda there is an additional issue which is that Coda works by setting up sites and I can't really run a script th
  5. Larry, others -- I've been following Larry for years, learned php from his first book and bought his YII book some time ago but am just getting to trying out YII. Do I need a copy of the YII Framework folder in the site folder for each site I am going to build with YII or can I simply run YII from a folder shared by all my sites? Does YII create the site folders and structures inside the Framework folder or in a separate site folder? Obviously not quite clear on the concept even of frameworks. In fact, this is the first time I've used any framework. I've been programming dir
  6. Larry -- Thanks for responding to this. I found QuickForm2.php. Instead of being where the downloaded script from ch 9 "Advanced php ..." script expected it, i.e. here: /usr/local/pear/share/pear/HTML/ It was here: /usr/share/pear/HTML/ It works now. Just had to explore a bit to find it. Thanks, --Kenoli
  7. Unfortunately, I get a file not found error when I do that. I am using XAMPP and don't know if that has anything to do with the issue. I found a version of HTML_Quickform (not ver 2) in one of the XAMPP directories, but it is missing many of the methods in Larry's scripts. I presume it is something that came installed with XAMPP. I thought maybe it was stored in a directory that would be appropriate if php were installed in a unix directory. If it were and I could find it, I could set up a symbolic link. --Kenoli
  8. I just installed pear and html_quickform2 and everything seemed to go well. Except...I have no idea where the html_quickform2.php script is located so I can point my script at it. When I installed pear the installer indicated where it was located (/usr/bin/pear). The following is all the info I got when I installed html_quickform2: Studios-iMac:bin studio$ sudo pear install HTML_QuickForm2 downloading HTML_QuickForm2-2.0.0.tgz ... Starting to download HTML_QuickForm2-2.0.0.tgz (178,224 bytes) .....................................done: 178,224 bytes downloading HTML_Common2-
  9. Does anyone know where I can buy a copy of this book a digital format other thank Kindle, maybe pdf??? Ebooks have bee a wonderful development as far as I am concerned as I can print out specific chapters or sections to take with me to read, to read in bed, etc. Amazon undermined this by creating the kindle format that you can only read at your computer and that you can't print out. I guess they are trying to force people to buy Kindles. What it is doing to me is driving me away from Amazon. --Kenoli
  • Create New...