Welcome Guest, Not a member yet? Register   Sign In
Ionize - Free & Open Source creative CMS
#91

[eluser]Ben Edmunds[/eluser]
draconus,

Try typing in index.php at the end of the url and let us know if that changes anything.


Thanks,
#92

[eluser]draconus[/eluser]
still a blank page
#93

[eluser]brianw1975[/eluser]
[quote author="draconus" date="1260081124"]still a blank page[/quote]

Stupid question, so I expect a stupid answer one way or another:

have you enabled logging (in php.ini & restart apache) and read the log file?
#94

[eluser]Référencement Google[/eluser]
[quote author="draconus" date="1260079754"]I have snow leopard and am using the built in php and apache. I do in fact have mod_rewrite enabled.[/quote]

Make sure you enabled the error displaying in your php.ini so you can easily find what's going wrong if it's a php error (which I suspect when it's a blank page).
#95

[eluser]draconus[/eluser]
The error is as follows:
Fatal error: Cannot redeclare isDate() (previously declared in /Users/draconus/Sites/savvy/application/helpers/MY_Date_helper.php:40) in /Users/draconus/Sites/savvy/application/helpers/MY_date_helper.php on line 43

If I completely comment out the isDate function it complains the same for the french isdate function, if i comment that out as well, the next one errors, etc all the way down.
#96

[eluser]tomcode[/eluser]
I've done a test install on http://www.tienstiens.fr/ionize-0-90/.

I got 500 Internal Server Errors as soon as I tried to access the admin area, beeing redirected to

http://www.tienstiens.fr/ionize-0-90/en/...user/login

I fixed that by replacing in line 102 the call to output for a load->view, file application/controllers/admin/user.php

Code:
// $this->output('access/login');
        $this->load->view('access/login');

Unfortunately all the admin uri http://www.tienstiens.fr/ionize-0-90/en/admin/

cause also a 500 so I cannot access the admin panel.

Edit : I've done several runs now, CI is apparently running completely through :

...
DEBUG - 2009-12-09 00:39:01 --> File loaded: themes/admin/views/javascript_lang.php
DEBUG - 2009-12-09 00:39:01 --> File loaded: themes/admin/views/desktop.php
DEBUG - 2009-12-09 00:39:01 --> Final output sent to browser
DEBUG - 2009-12-09 00:39:01 --> Total execution time: 0.1031

Very strange.

Edit 2 :
I traced it all down, it's a header setting. Looks the admin area uses CI's Output->_display() function to send headers and content, while the public pages won't. For the admin pages a header is set :
Code:
header('text/html; charset=utf-8', true);
while for the public pages not.

If I add the header to the root index.php, I get the 500 also for the public pages. Leaves me with the question why the header causes a 500 error.
#97

[eluser]Michel-Ange[/eluser]
@tomcode : Hi, did you already get the error ?
#98

[eluser]tomcode[/eluser]
@Michel-Ange :

Yes :
file application/libraries/Theme.php

Code:
/**
* Outputs one view
*
* @access    public
* @param    string    Name of the view
* @param    array    View's data array
*
*/
public function output($view, $data)
{
    $ci =  &get;_instance();

    // Loads the view
    $output = $ci->load->view($view, $data, true);

    // Set character encoding
    $this->output->set_header("text/html; charset=utf-8"); // is
    $this->output->set_header("Content-Type: text/html; charset=UTF-8"); // should be

    // Final output
    $ci->output->set_output($output);
}
#99

[eluser]Michel-Ange[/eluser]
@tomcode : Thanks !
I added the correction to the next version (in current development)

[eluser]tomcode[/eluser]
I've done a checkout of the trunk on assemble and are playing with it, where and how do You want me to post any errors I find (got already one && fix)




Theme © iAndrew 2016 - Forum software by © MyBB