![]() |
Unidentified queries - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Unidentified queries (/showthread.php?tid=8019) |
Unidentified queries - El Forum - 05-01-2008 [eluser]wonderbread[/eluser] I recently picked up code igniter in hope of it helping me out in the development of a small clan/guild website. However I've been getting unidentified query errors on all queries. I've been following the blog in 20 minutes video tutorial when these happend. On a side note, the scaffolding doesn't work for me either. I followed that through but the 'add' function gives me a 404. Just leave a reply here. Thanks Wonderbread Unidentified queries - El Forum - 05-01-2008 [eluser]Derek Allard[/eluser] Welcome to CodeIgniter wonderbread, glad to have you on board. I've moved this into the application development forum, as I think you'll get more eyeballs on it that way. Unidentified queries - El Forum - 05-01-2008 [eluser]gtech[/eluser] first thing to check.. have you set the base_url in the config/config.php file? links to other threads with same problem. [url="http://ellislab.com/forums/viewthread/60917/"]http://ellislab.com/forums/viewthread/60917/[/url] [url="http://ellislab.com/forums/viewthread/47270/"]http://ellislab.com/forums/viewthread/47270/[/url] if that fails you could try the suggestions in the troubleshooting guide. [url="http://ellislab.com/codeigniter/user-guide/installation/troubleshooting.html"]http://ellislab.com/codeigniter/user-guide/installation/troubleshooting.html[/url] if you are using a .htaccess file (im guessing you havent) then remove it for now and keep things simple. If none of these things work let us know, I am sure someone will be happy to help. Unidentified queries - El Forum - 05-02-2008 [eluser]wonderbread[/eluser] I feel like such an idiot now. I didn't edit the config.php file =\ Thanks guys. Unidentified queries - El Forum - 05-02-2008 [eluser]wonderbread[/eluser] I appear to have another problem now.Still whilst following the blog tut. Parse error: syntax error, unexpected T_ENDFOREACH in C:\xampp\htdocs\igniter\system\application\views\cms_view.php on line 15 Code: <html> *EDIT*Sorry on the double post, just noticed it. Unidentified queries - El Forum - 05-02-2008 [eluser]Derek Allard[/eluser] its the ";" in Code: <?php foreach($query->result() as $row); ?> Also, consider changing <? to <?php in the endforeach. Probably won't be a problem, but some servers don't like it. Unidentified queries - El Forum - 05-02-2008 [eluser]wonderbread[/eluser] Thanks for that. Nice and fast reply. Unidentified queries - El Forum - 05-02-2008 [eluser]Derek Allard[/eluser] You're welcome. I look forward to you helping others as well, we all support each other here ![]() Unidentified queries - El Forum - 05-02-2008 [eluser]wonderbread[/eluser] I doubt I can help anyone at this moment. My 'skills' are non-existant. ![]() |