Error in import view on creation of new page
Hallo,
I am familiar with codeigniter, but new to fuelCMS.
So I just installed the system on my hosted webspace and everythings seemed to work fine.
Then I tried to create my first page. I wanted to upload an existing file, because my goal is a migration from an existing CI page to fuelCMS.
On creating the new site, the CMS correctly shows the popup that a file of similar name is in the view directory.
When I press "Yes, upload" nothing seems to happen, but in the JS console there is an "500 internal server error" with following details:
A PHP Error was encountered
Severity: Warning
Message: explode() expects parameter 2 to be string, array given
Filename: MX/Modules.php
Line Number: 165
A PHP Error was encountered
Severity: Warning
Message: array_pop() expects parameter 1 to be array, null given
Filename: MX/Modules.php
Line Number: 167
A PHP Error was encountered
Severity: Warning
Message: implode(): Invalid arguments passed
Filename: MX/Modules.php
Line Number: 170
An Error Was Encountered
Unable to locate the file: .php
Same error occurs while trying to upload a file from the local file system.
Anyone had this problem before?
KR
Habib
Comments
find the content under http://files.familiepleines.de/verein.php.txt
Perhaps the CDATA block is the problem?
Of course in the upload directory I use the file without the txt extension
KR
Habib
A PHP Error was encountered
Severity: Warning
Message: explode() expects parameter 2 to be string, array given
Filename: MX/Modules.php
Line Number: 165
A PHP Error was encountered
Severity: Warning
Message: array_pop() expects parameter 1 to be array, null given
Filename: MX/Modules.php
Line Number: 167
A PHP Error was encountered
Severity: Warning
Message: implode(): Invalid arguments passed
Filename: MX/Modules.php
Line Number: 170
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Error
html,body { margin: 20px 0 10px 0; padding: 0; }
body { font: 11px Arial, Helvetica, sans-serif; text-align: center; }
h1 { margin: 0; padding:0; font-family: Arial,Helvetica,sans-serif; font-size: 22px; color: #999; font-weight: normal; padding: 10px 4px 5px 0; }
p { font-size: 12px; margin: 0 0 10px 0; line-height: 15px; }
a { color: #690; text-decoration: none; }
a:hover { color: #333; text-decoration: underline; }
#error_general { width: 500px; margin: auto; border: 1px solid #ddd; padding: 0 20px 20px 20px;}
An Error Was Encountered
Unable to locate the file: .php
I created a new page and entered some data in the Heading and body part...
On calling the page http://fuel.familiepleines.de/menschen the same error appears...
I will later debug the code
Thanks so far!
$this->load->view($params);
The first parameter should be a string value to a view path and NOT an array of values:
$this->load->view('_blocks/header',$params);