Jump to content

alvin567

Members
  • Posts

    161
  • Joined

  • Last visited

Everything posted by alvin567

  1. Is the anyway I can be able to do this?
  2. Is there any ftp program that is integrated with the editor to support easy debugging of the script>
  3. It is true stuff. Don't worry if other goes against you. Just know what you are suppose to do.
  4. Master the array and loop of whatever programming language you are going to use.
  5. You can consider using firebug/jquerify to do your debugging work.
  6. hi bakhtn, I am currently working as a web developer right from home. From the start,it is important to clear your ambiguity with your superior right from the start. In case things gets worst. Talk to your peers to see how things are going along the way.
  7. Can you try inserting the files into here? http://jsfiddle.net/ I typically do not have this kind of issues.
  8. hybrid:maybe you can consider using programmer's notepad
  9. Congrats, what is the your subjects?what other technology do you use?
  10. alvin567

    Hello!

    hi robert,maybe you can consider learning lynda.com?The tutorials there are straightforward and easier to understand
  11. wow this is great! thank you so much!
  12. Ok I did spot it,now tell me,how can I resolve this error?
  13. How can it be extended within a certain range?
  14. if (!defined('ROOT')) { define('ROOT', dirname(dirname(dirname(__FILE__)))); } /** * The actual directory name for the "app". * */ if (!defined('APP_DIR')) { define('APP_DIR', basename(dirname(dirname(__FILE__)))); } /** * The absolute path to the "cake" directory, WITHOUT a trailing DS. * */ if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', ROOT); } define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' . DS . 'cake' . DS . 'lib');
  15. I think this could solve this error? if (!defined('ROOT')) { define('ROOT', DS.'home'.DS.'me'); } if (!defined('APP_DIR')) { define ('APP_DIR', 'mysite'); } if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', DS.'usr'.DS.'lib'.DS.'cake'); } because I saw this as follows, An example might help illustrate this better. Imagine that I wanted to set up Cake to work wit h the following setup: 1. I want my Cake libraries shared with other applications, and placed in /usr/lib/cake. 2. My Cake webroot directory needs to be /var/www/mysite/. 3. My application files will be stored in /home/me/mysite.
  16. Here's what the file setup looks like: /home /me /mysite <-- Used to be /cake_install/app /config /controllers /models /plugins /tmp /vendors /views index.php /var /www /mysite <-- Used to be /cake_install/app/webroot /css /files /img /js .htaccess css.php favicon.ico index.php /usr /lib /cake <-- Used to be /cake_install/cake /cake /config /docs /libs /scripts app_controller.php app_model.php basics.php bootstrap.php dispatcher.php /vendors what is expected of this?
  17. How do I cast a date type of '2010-02-30' so that it is recognizable my mssql?
  18. my line 86 is as follows if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR); } if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { return; } else { $Dispatcher = new Dispatcher(); $Dispatcher->dispatch($url); } if (Configure::read() > 0) { echo "<!-- " . round(getMicrotime() - $TIME_START, 4) . "s -->"; } What could be the error? There are three constants that you'll need to edit: ROOT, APP_DIR, and CAKE_CORE_INCLUDE_PATH. ROOT should be set to the path of the directory that contains your app folder. APP_DIR should be set to the (base)name of your app folder. CAKE_CORE_INCLUDE_PATH should be set to the path of your CakePHP libraries folder. So which of this I probably will have to change?
  19. I am currently working with another programmer who is using cakephp framework,however I was required to modifed the existing code base, I am worried will affect other conditions hence I may need to rewrite everything.
  20. The problem is it is asking for the range of 11-19 of size when I only specifically ask for within the range, any why how I can resolve this?
  21. http://www.sitepoint.com/forums/showthread.php?638732-Grouping-into-a-Range-of-Values-in-MS-SQL-2005 how can I make sense out of this?
  22. I manage to do this some how Select size, Case when size = 1 then COUNT(*) when size = 2 then COUNT(*) when size = 3 then COUNT(*) when size = 4 then COUNT(*) when size = 5 then COUNT(*) when size = 6 then COUNT(*) when size = 7 then COUNT(*) when size = 8 then COUNT(*) When size = 9 then COUNT(*) When size = 10 then COUNT(*) When size Between 11 and 19 then COUNT(*) When size Between 20 and 40 then COUNT(*) End As Count from group by size order by size asc; but the size is returns 11 and 19 between all?
  23. ( ! ) Warning: include(Cake\bootstrap.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\swr_app \webroot\index.php on line 79 Call Stack # Time Memory Function Location 1 0.0017 387168 {main}( ) ..\index.php:0 ( ! ) Warning: include() [function.include]: Failed opening 'Cake \bootstrap.php' for inclusion (include_path='C:\wamp\www\lib;.;C:\php \pear') in C:\wamp\www\swr_app\webroot\index.php on line 79 Call Stack # Time Memory Function Location 1 0.0017 387168 {main}( ) ..\index.php:0 ( ! ) Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your \cake core directory and your \vendors root directory. in C:\wamp\www\swr_app\webroot\index.php on line 88 Call Stack What do I actually have to do?
  24. For example,I don't know what the fields are I want to search for the table instead?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.