Welcome Guest, Not a member yet? Register   Sign In
  browser problem ???
Posted by: El Forum - 07-25-2008, 02:48 AM - Replies (1)

[eluser]najm[/eluser]
hello

i have a browser problem , my upload file pdf extension is very well with internet explorer but when i want to try with firfox 3 a message appear and tell me :
{file type is not authorized } it is very bizar please help me with any information about this problem

and thank you


  foreach to start a new query
Posted by: El Forum - 07-25-2008, 01:06 AM - Replies (4)

[eluser]Unknown[/eluser]
i would like to start a db query with a value of a foreach. normaly i do this directly but with the mvc model i go insane...

can i send a a value from a view to a controller (not by uri or post)?


  Please help me!!!
Posted by: El Forum - 07-25-2008, 12:53 AM - Replies (3)

[eluser]dbashyal[/eluser]
Hi

I am using CI for frontend and oscommerce for backend for first time as a combination. I have been using oscommerce only before and everything was fine.

This time it is still fine in FF but when i update something through ie7 texts get stripped. formatting is lost. inserts series of question marks. oscommerce has tinymce editor.

i got some URI error of CI even on oscommerce pages, i fixed that, but still... Sad

Anyone has any idea. I'm in a serious problem as i am in a new job and my time is wasted on this. Very scared of boss now.


  Blog Trackbacks
Posted by: El Forum - 07-25-2008, 12:30 AM - Replies (1)

[eluser]Yash[/eluser]
Can anyone help me in understanding Trackbacks.I know CI provide a class for this.

How to use this.and what is this?

Totally noob in this.

Thank you


  (SOLVED) Robots list in user_agents.php - CI 1.6.3
Posted by: El Forum - 07-24-2008, 09:15 PM - Replies (3)

[eluser]fensen[/eluser]
I've just downloaded CI 1.6.3

I was wondering, what happend with the $robot array (bots, crawlers) in application/config/user_agents.php

It was present in CI 1.6.1.

I need to be able to read the array and add some new values.

Thanks


  [Q] How to catch SQL error?
Posted by: El Forum - 07-24-2008, 08:54 PM - Replies (3)

[eluser]makoto kuwata[/eluser]
Hi all,
I have a question about error handling.

How to catch error of SQL statement?

for example:

create table items (
id integer primary key auto_increment,
name varchar(32) not null unique
);

$this->insert('items', array('name'=>'AAA')); // OK
$this->insert('items', array('name'=>'AAA')); // Uniqueness error

I want to catch this error.
Is it possible?

--
regards,
makoto kuwata


  Upload status feature
Posted by: El Forum - 07-24-2008, 08:46 PM - No Replies

[eluser]jbads[/eluser]
Hi, I am looking to add a feature to my CI app which displays the current status of and upload (percentage or kbytes) to give my users a fairer understanding of how long their larger uploads are taking and so they dont think the system has stalled because of the apparent inactivity on larger uploads.

Could someone give me an indication of what technology I should be looking at. I get the feeling I should be looking at javascript. Has anyone had any experience with creating an upload feature before and have some info to share?

At the moment have built the upload function but feel its not very user-friendly. ie. It looks like it has stalled when in fact it is just processing.

Cheers,
Jake.


  Querying a DB with a value from a previous query?
Posted by: El Forum - 07-24-2008, 07:12 PM - Replies (5)

[eluser]dobbler[/eluser]
Hi,

I'm trying to replicate this Cold Fusion code in a project.

Code:
<cfquery datasource="#application.dsn#" name="verify">
        SELECT u.UserId, u.FirstName, u.Surname, u.RoleId
        FROM Users u
        WHERE LCase(u.EmailAddress) = '#LCase(form.email)#'
        AND LCase(u.Password) = '#LCase(form.password)#'
    </cfquery>
    
    <cfquery datasource="#application.dsn#" name="verify2">
        SELECT ResearchElementId
        FROM UsertoLevel3Link
        WHERE UserId = #verify.UserId#
    </cfquery>
    
    <cfquery datasource="#application.dsn#" name="verify3">
        SELECT GroupId, GroupStatusId
        FROM lnkUserGroup
        WHERE UserId = #verify.UserId#
    </cfquery>
    
    <cfquery datasource="#application.dsn#" name="verify4">
        SELECT InstitutionId, PositionId, DepartmentId
        FROM User_Institution
        WHERE UserId = #verify.UserId#
    </cfquery>

Where you can see that the subsequent sql calls are using the UserID value from the first verify call..

Is it possible to replicate this in CI? I've tried a couple of things but keep hitting a brick wall..

Any help would be greatly appreciated.

Rob.


  MYSQL:Between!
Posted by: El Forum - 07-24-2008, 04:26 PM - No Replies

[eluser]MMCCQQ[/eluser]
how can i use Between in CI?


i want do this..

Code:
$query = "SELECT * FROM WHERE idTipo = ".$_POST['tipo']." AND  PRICES BETWEEN ".$_POST['prices2']." AND ".$_POST['prices3']."";

and i want integrate with this:

Code:
$this->db->join('caracteristicas c','c.Caracteristica = Ba&ntilde;os');
        $this->db->join('detallecaracteristica dc', 'dc.idCaracteristica = c.idCaracteristica ');
        $this->db->join('propiedades p','p.idPropiedad = dc.idPropiedad');
        $this->db->where('dc.Cantidad',$_POST['bano']);
        $this->db->where('idTipo', $_POST['tipo']);

who can i helpme?


  CI media temple
Posted by: El Forum - 07-24-2008, 03:45 PM - Replies (3)

[eluser]SpooF[/eluser]
I've been developing a web site with CI on a media temple account and It seems to be really slow. I haven't tried to move the web site to a different serve to see if there is a speed boost, but I was wondering if anyone else ever has any problems. My pages take between .1 and 5 seconds to load. I've never had a CI web page run this slow before.


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

Username
  

Password
  





Latest Threads
CVE-2022-40834 SQL Inject...
by kenjis
14 minutes ago
Retaining search variable...
by pchriley
42 minutes ago
SQL server connection not...
by JustJohnQ
51 minutes ago
How to use Codeigniter wi...
by sr13579
1 hour ago
Disable debug output in v...
by groovebird
1 hour ago
CI 4.5.1 CSRF - The actio...
by kenjis
3 hours ago
CodeIgniter v4.5.0 Releas...
by kenjis
3 hours ago
Cache best practice?
by BhambriRohunu
4 hours ago
Bug with sessions CI 4.5....
by InsiteFX
5 hours ago
Codeigniter Shield Bannin...
by kenjis
9 hours ago

Forum Statistics
» Members: 85,323
» Latest member: LeonBetbraz
» Forum threads: 77,578
» Forum posts: 375,992

Full Statistics

Search Forums

(Advanced Search)


Theme © iAndrew 2016 - Forum software by © MyBB