Welcome Guest, Not a member yet? Register   Sign In
  How can i build a dynamic tree view using CodeIgniter ???
Posted by: El Forum - 09-03-2007, 12:10 AM - No Replies

[eluser]Unknown[/eluser]
Hello
I am a freshers in CodeIgniter. Currently i am trying to build a Accounting software which will be WEB based. In this purpose i need some kind of "tree view" like in visual Basic. I dont find any help. Moreover, I think in next version of CodeIgniter PLEASE add some "component" like tree view, list view etc , so our programmers work can be minimal....
Regrads
chishty


  error to get the image file informatino with getimagesize() PHP function...
Posted by: El Forum - 09-02-2007, 11:53 PM - No Replies

[eluser]OneCorea[/eluser]
Hi,
To get the image file info, which has already uploaded by the browser, using the PHP original getimagesize() functions..

I've got errors as follows...

Code:
getimagesize(): URL file-access is disabled in the server configuration

getimagesize(http://www.abctest.or.kr/board/upfile/forum/1187255975/case1.jpg):
failed to open stream: no suitable wrapper could be found


Of course, the permisssion of uploaded directory was set recursively 777 for the nobody user to access it.
So I can see the image file by the URL, and outside CI can get the image file info using the getimagesize() function...
But, within CI, there's error like above...

what's wrong???...dear gurus!!


  Clickable table rows using Jquery
Posted by: El Forum - 09-02-2007, 05:18 PM - No Replies

[eluser]danfloun[/eluser]
Anyone know if there is a function of jquery to allow clickable rows?

Thanks


  Simple email question.... I think!
Posted by: El Forum - 09-02-2007, 05:05 PM - No Replies

[eluser]danfloun[/eluser]
Hello,

I got a results table which returns all the records of a phone book.

I want to be able to make the emails clickable so that they open on the systems default email client e.g. Outlook Express.

I've enabled the email library though I'm not sure whether that's actually necessary here as a bit of simple php may do this but for the life of me I can't get anything to work.

Here's the part of the results table.


Code:
<?php foreach($query as $row): ?>
            <tr>
                <td>&lt;?=$row->company;?&gt;</td>
                <td>&lt;?=$row->first_name;?&gt;</td>
                <td>&lt;?=$row->last_name;?&gt;</td>
                <td>&lt;?=$row->landline_tel;?&gt;</td>
                <td>&lt;?=$row->mobile_tel;?&gt;</td>
                <td>&lt;?=$row->fax_tel;?&gt;</td>
                <td>&lt;?=$row->email;?&gt;</td>
            </tr>
&lt;?php endforeach;?&gt;

Thanks for your help..

Danny


  Free Code Igniter hosting?
Posted by: El Forum - 09-02-2007, 04:06 PM - No Replies

[eluser]@li[/eluser]
Hi,
I'm looking for a free web host where I can host my portfolio. All of the free PHP hosts I found don't have .htaccess support, so the URLs would need to have index.php at the end for them to work.

Does anyone know of any free web host that has .htaccess support?


  Routing
Posted by: El Forum - 09-02-2007, 03:35 PM - No Replies

[eluser]xenon-dev[/eluser]
Hello. I've been trying to build my first project with CI, but I'm having a little problem...I need to make a part of this project the default one, but can't get it right. In routes.php there is this line:

Code:
$route['default_controller'] = "portfolio/home";

All good (or should be). But, when loading the page(localhost/CodeIgniter/), it throws up this error:

Code:
404 Page Not Found

The page you requested was not found.

The application structure is as follows:

Code:
controllers
    portfolio
        home.php

And I still can't figure out WHY it shows a 'page not found' error, though it looks ok to me. The .htaccess file:

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|user_guide|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

I can't understand what's wrong, please help me. Thanks.


  Hide controller name
Posted by: El Forum - 09-02-2007, 02:27 PM - No Replies

[eluser]Dauntless[/eluser]
Hi,

How can I hide the controller name?

Fe, I have the site http://www.mydomain.com which has a main controller: 'main'. I don't want the people to have to go to mydomain.com/main/contact (fe), but just mydomain/contact (since 'main' is the controller that represents the main site).

I've already hidden the index.php through htaccess. I'm guessing I have to look at the routing options? Any help would be grate Smile

Greets!


  Problems with DB Session
Posted by: El Forum - 09-02-2007, 12:07 PM - No Replies

[eluser]Skinnpenal[/eluser]
Hi!

I'm trying out the Auth library, which utilizes DB Session.
When submitting the login form I get the error below.

Has any of you experienced this? How do I fix it? Smile

Thanks in advance!


A PHP Error was encountered
Severity: Notice
Message: Undefined index: user_agent
Filename: libraries/Db_session.php
Line Number: 297

A PHP Error was encountered
Severity: Notice
Message: Undefined index: ip_address
Filename: libraries/Db_session.php
Line Number: 298

A PHP Error was encountered
Severity: Notice
Message: Undefined index: session_id
Filename: libraries/Db_session.php
Line Number: 304

An Error Was Encountered
Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET last_activity = NULL, user_agent = NULL, ip_address = NULL, session_data = '' at line 1

UPDATE SET last_activity = NULL, user_agent = NULL, ip_address = NULL, session_data = 'a:1:{s:23:\"flash:newConfusedentry_status\";b:0;}' WHERE session_id


  Loading Helpers & Libraries in constructors
Posted by: El Forum - 09-02-2007, 11:43 AM - No Replies

[eluser]ufasoli[/eluser]
I've been trying to load a few libraries and helpers in the controller constructor, in order to have them available throughout the entire application, but it doesn't work, I've seen a few CI examples where this was done.. and I was wondering if there is something special to be done in order to have them available throughout the entire application instead of loading them every time I write a new function in the controller. I know you can autoload them by adding them in the "autoload.php" file but I would rather not

Thanks

Ulises


  Controller Problems
Posted by: El Forum - 09-02-2007, 10:10 AM - No Replies

[eluser]ColinL[/eluser]
Hey all. New to CodeIgniter, and already running into problems. Just got done installing/configuring CI, and went ahead and started going through the video tutorials. But right off the bat, I've hit a snag. I've created the Blog controller shown in the first video tutorial, but when I go to my browser, instead of seeing "Hello World" I get a Page Cannot Be Found error.

I'm running it locally, with IIS 5.1, MySQL 5 and PHP5. Anyone got anyideas what's causing the problem?


Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Latest Threads
Ajax post failing with Ty...
by PaulC
36 minutes ago
MVC vs MVCS vs CodeIgnite...
by FlavioSuar
2 hours ago
CodeIgniter Shield 1.0.0 ...
by timesprayer
8 hours ago
Website Traffic Drop Afte...
by InsiteFX
9 hours ago
Magic login link not work...
by InsiteFX
9 hours ago
Is codeigniter 5 upco...
by InsiteFX
9 hours ago
CI4 Auto-Discovery not wo...
by InsiteFX
Yesterday, 11:04 PM
Why PHP is still worth le...
by InsiteFX
Yesterday, 10:55 PM
Any user guid or video o...
by msnisha
Yesterday, 02:30 PM
Why Every Programmer Need...
by Yetkiliteknikservis
Yesterday, 01:49 PM

Forum Statistics
» Members: 145,126
» Latest member: thabett88
» Forum threads: 78,385
» Forum posts: 379,433

Full Statistics

Search Forums

(Advanced Search)


Theme © iAndrew 2016 - Forum software by © MyBB