Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Technical support
»
Problem Submiting content from Frontend
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem Submiting content from Frontend (Read 12199 times)
cdesp
Newbie
Posts: 13
Problem Submiting content from Frontend
«
on:
July 28, 2008, 12:54:44 »
Hi i just moved my ste to a hosting server from my WinXp pc and i have this problem only on hosting pc.
After i save the content the following error occurs :
PHP: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object
uri: index.php
path: /components/com_content/content.php
version: Elxis 2008.0 Stable rev1891 [ Olympus ] 10-February-2008 00:39 GMT+2
WARNING(2): /home/newbrain/public_html/includes/Core/utf8.class.php, line 472
Also a popup message saying that the seo title should be set.
I already checked the includes/utf8db dir and the seo .class.php file they are ok.
Permissions are 644 for the files and 755 for the dir.
Please advise.
Chris
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Problem Submiting content from Frontend
«
Reply #1 on:
July 28, 2008, 14:39:52 »
Please check if the SEO title is empty, all SEO title should be filled in otherwise you will have fatal errors. Did you upgraded an Elxis 2006.x site to 2008.x?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
cdesp
Newbie
Posts: 13
Re: Problem Submiting content from Frontend
«
Reply #2 on:
July 28, 2008, 22:41:30 »
As i said the problem is when i submit content from the frontend and only on my hosting server not on my pc.
From the frontend you don't specify SEO title it is completed automatically from the suggest function.
I did not upgrade it's a clean installation of elxis 2008.
Logged
cdesp
Newbie
Posts: 13
Re: Problem Submiting content from Frontend
«
Reply #3 on:
July 28, 2008, 23:37:37 »
I now enable SEO PRO and the error message is gone.
Now a full line of question marks (?) apears on top of the screen and the message popup "seo title cannot be empty".
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Problem Submiting content from Frontend
«
Reply #4 on:
July 28, 2008, 23:42:14 »
Hi,
Is your Elxis installed in a subdirectory?
Logged
I've got a snap in my finger...
Got rhythm in my walk...
cdesp
Newbie
Posts: 13
Re: Problem Submiting content from Frontend
«
Reply #5 on:
July 28, 2008, 23:53:56 »
It's installed on
/public_html/
No subdir.
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: Problem Submiting content from Frontend
«
Reply #6 on:
July 29, 2008, 00:31:46 »
Have you setup your .htaccess properly?
Or, do you have any other problem beside suggested tile?
Logged
I've got a snap in my finger...
Got rhythm in my walk...
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Problem Submiting content from Frontend
«
Reply #7 on:
July 29, 2008, 00:47:02 »
Do you write a proper title and submitting content in an allowed category? The SEO title suggestion feature will return an empty seo title it the normal title is wrong and/or the category has not been set.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
cdesp
Newbie
Posts: 13
Re: Problem Submiting content from Frontend
«
Reply #8 on:
July 29, 2008, 01:32:24 »
About htaccess the only thing i changed was the
RewriteBase /
As i said in my localhost server it works ok. (same category title etc)
I also have the seo patch installed but nothing solved by that.
The title i used (among others) is 'testing' in the 'newsflashes' section/category, ALL languages, and public frontend.
But i am sure the problem occurs always no matter what i want to submit.
I would try to debug it but i am over PSTN line so Online debugging is a little bit difficult for me.
Logged
cdesp
Newbie
Posts: 13
Re: Problem Submiting content from Frontend
«
Reply #9 on:
July 30, 2008, 13:34:41 »
Problem Solved!!!!
I did some debugging and the problem was on function utf8_to_ascii in file utf8.class.php.
Line 464
if ( !include($bankfile) ) { continue; }
after the execution of this line on the output i saw a line full of question marks
??
now that only happen to the hosting server in my server worked ok.
at that line it loaded file x00.php from utf8db
that file was missing " ?> " at the end
i just added that and works ok.
Probably i should add this to all files in utf8db.
Can Someone explain this?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: Problem Submiting content from Frontend
«
Reply #10 on:
July 30, 2008, 14:29:13 »
You are right! The x00.php file needs a "
?>
" at the end. Thanks for the debug!!
Attention: when editing this file make sure you dont destroy the file's encoding.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
elpvn
Newbie
Posts: 49
Re: Problem Submiting content from Frontend
«
Reply #11 on:
August 09, 2008, 09:53:35 »
I got same issues, when I try to 'summit content' from user menu at frontpage: The SEO section does not appear here. So I guest that should add to all of *.php files in utf8db directory now to fix it, is it right?
Thanks.
Logged
Wherever I go, there I am...
jorgebravoc
Jr. Member
Posts: 73
Re: Problem Submiting content from Frontend
«
Reply #12 on:
February 09, 2011, 08:14:48 »
You are right! The x00.php file needs a "?>" at the end. Thanks for the debug!!
This answer is fundamental, but you actually need to add the ?> on every single file inside the Folder utf8db
Dreamwevaer has a real nice Find/Replace feature that can find a tag and replace every single tag in an antire folder.
I used that, if you know other methods great! otherwise you are going to have to add the ?> at the end of about more than 150 files. Good luck
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Technical support
»
Problem Submiting content from Frontend