Welcome Guest, Not a member yet? Register   Sign In
  Cannot modify header information error in CI with Smarty
Posted by: El Forum - 10-09-2007, 12:23 PM - No Replies

[eluser]Myles Wakeham[/eluser]
I'm implementing NuSOAP in a CI app that also uses Smarty. I can call the WSDL without any problem and get the XML data sent from it fine if I call a PHP file directly from the root directory of the application.

But when I attempt to do this through a /index.php/..... structure, and have my NuSOAP calls through the CI controllers, I get the following error:

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/cyberears.com/htdocs/ci_content/application/libraries/MySmarty.php:39)

Filename: libraries/nusoap.php

Line Number: 3281

There is no Smarty template being sent to the browser at all for this - just XML for the WSDL.

Is there a simple way to ensure that the output from CI doesn't go through the Smarty engine even if Smarty is installed as a library?

Myles


  <?php= doesn't work on my dev server
Posted by: El Forum - 10-09-2007, 11:31 AM - No Replies

[eluser]FuzzyJared[/eluser]
anyone know how I would be able to turn on the short hand echo statements like this within the php.ini file... which I would assume that it would be in.


  Library Question
Posted by: El Forum - 10-09-2007, 11:03 AM - No Replies

[eluser]Vik[/eluser]
I moved a function that's used by two of my models, to a library file. The function uses the DB object, so the following line doesn't run yet:

Code:
$this->db->where('id=', $user_id);
To make DB available to the function, is the correct approach, to pass in DB as a parameter of the function?


  Error installing FreakAuth_light
Posted by: El Forum - 10-09-2007, 10:29 AM - No Replies

[eluser]stan801003[/eluser]
HI all,

I am very new to CI, i have just found the Freak Auth Light system and have spent the best part of the day installing it, I have followed the install instructions, but get the first error under the first title which i have pasted below:

load->view($this->config->item('FAL_template_dir').'template/menu');

then when i try to register or login i get an error explaining that the pages can not be found, all these erros ocur on the installer page

Any advice would be gratefully appreciated

thanks

stan


  base_url() giving error
Posted by: El Forum - 10-09-2007, 09:56 AM - No Replies

[eluser]bohara[/eluser]
This code in my layout file

Code:
<link rel="stylesheet" href="<?=base_url()?>css/blueprint/screen.css" type="text/css" media="screen, projection">

Gives this error when output
Code:
Call to undefined function: base_url() in <b>/Library/WebServer/Documents/ci/system/application/views/layout.php

It stops ouput right after the page title and I only see the error message when I view source.

Not sure what i am doing incorrectly here?


  New Multicache 0.1 - Memcache, APC
Posted by: El Forum - 10-09-2007, 09:14 AM - No Replies

[eluser]Elliot Haughin[/eluser]
Hey guys... I've decided to build a basic cache abstraction library.
Would you mind testing/debugging this with me? - I've not really had a proper test on this.

You can read all about it here:
CodeIgniter Multicache 0.1 Release

Elliot


  How to send email for more than 1000 user............
Posted by: El Forum - 10-09-2007, 07:18 AM - No Replies

[eluser]MASS MASS[/eluser]
can i send email to more than 1000 user at a time ........


i will get email id from database.....


then in for loop ....... i will send maximum 50 email ........


after that ..........gives below error


Fatal error: Maximum execution time of 60 seconds exceeded in ......\system\codeigniter\Common.php on line 224



Any solution for this .............


thx in advance


  Difficult DB insert question
Posted by: El Forum - 10-09-2007, 05:34 AM - No Replies

[eluser]Référencement Google[/eluser]
Hi,

I have a problem doing an insert.

The query:

Code:
INSERT INTO nip_word_join (word_ID, profile_ID_word)
VALUES ('100', '90'),
       ('105', '91'),
       ('108', '92'),
       ('110', '93'),
       ('100', '94'),
       ('106', '95'),
       ('100', '96'),
       ('118', '97'),
       ('102', '98')

Is it possible to make that query with active record?
Another question, the datas are coming from an array, and list is long, how should I do, with a foreach or something like that to make the insert? Can somebody post a smal exemple of code?


  Some characters such as { } not allowed in URI
Posted by: El Forum - 10-09-2007, 04:47 AM - No Replies

[eluser]fry-guy[/eluser]
Hello,

I am trying to get the following code

Code:
{0FC852D2-C407-4668-9126-01148B37A0B8}
from the URL
Code:
which translate to &#x7B;0FC852D2-C407-4668-9126-01148B37A0B8&#x7D;
and I get the Characters not permitted error message.

I have added {} in the permitted characters config file but it still does not work. Is this a bug or am I missing something.
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-{}';
Any help will be much appreciated.

Thanks


  404 but what page?
Posted by: El Forum - 10-09-2007, 04:31 AM - No Replies

[eluser]wojtekk[/eluser]
Hi i made today backup of page that were created with codeigniter.
And i find that logs r full of 404 error like

Code:
ERROR - 2007-10-09 11:00:24 --&gt; 404 Page Not Found --&gt;

so i thought that something dont work but i didnt find,
how can i log what page make 404?


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

Username
  

Password
  





Latest Threads
hot-reload side effects s...
by PaulC
Today, 05:09 AM
CodeIgniter.com - Report ...
by Harry Lyre
Today, 04:26 AM
Setting baseURL in Regist...
by michalsn
Today, 12:09 AM
Update from 4.6.0 to 4.6....
by FlavioSuar
Yesterday, 04:17 AM
Sessions old files are de...
by InsiteFX
05-12-2025, 10:30 PM
Ajax post failing with Ty...
by PaulC
05-12-2025, 12:23 AM
intermittent smtp failure...
by InsiteFX
05-11-2025, 11:30 PM
MVC vs MVCS vs CodeIgnite...
by FlavioSuar
05-10-2025, 10:33 AM
CodeIgniter Shield 1.0.0 ...
by timesprayer
05-10-2025, 05:22 AM
Website Traffic Drop Afte...
by InsiteFX
05-10-2025, 04:23 AM

Forum Statistics
» Members: 146,002
» Latest member: georgemanilo
» Forum threads: 78,389
» Forum posts: 379,450

Full Statistics

Search Forums

(Advanced Search)


Theme © iAndrew 2016 - Forum software by © MyBB