Elxis CMS Forum
Support => Installation => Topic started by: pavel on March 17, 2009, 19:04:01
-
Hello elxis community!
I installed elxis in the root directory, set up SEO which seems to work fine for sample content, but got a problem with new content:
- on administrator side new content is registered OK, the menu on the front end appears OK, but when I click on the menu leading to the new content item, i get error:
Error 404
We are sorry but the page you requested was not found.
( /index.php?option=com_content&task=view&id=51&Itemid=48 )
If I tick this content item - "show on front page" it is not appearing on the front page as well. Seems like elxis can not see it....
I tried putting exising (sample) content in the newly created section/category (connected to the main menu with a new link) - it appears. I tried adding new item in the same section/category - it does not appear.
Any ideas what could be wrong? :-\
-
Could you give us access to your administration of the site? Via PM
-
90% you have set wrong the languages.
Check it at:
Section
Category
Content Item
Menu links
-
Hi pavel
Elxis is multilingual CMS, wich means that every content item, category, section, menu item etc... can be set for different language. Make sure that content item is published for the same language as it's category/section, as well as it's menu item.
EDIT: While I was typing, you already recieved two same answers. So check your published languages.
-
Disable SEO PRO and check it again , Does it work now?
-
Disabled SEO, still not working. Added new content item into the old section/category (with tick to display on the front page), and added a menu to the main menu... still doesn't work.
In the configuration.php I switched place of languages (in order to get the display in the order that I want), but I don't think it should have any affect on my problem.
-
also , check user access level..
-
Once again, check the section, category, the item & the component front page (main menu) to be published into the same language.
-
Nothing seem to be helping.... It is very strange. I'd done installations before and I never had such problem. I'am going to do another installation in the subdirectory, and see how it works. It could be that some files did not upload fully and the code is broken. My host accepts .tar and .gz format, so I zipped the installation files (this time it should be full package for sure). So once I try it out, I'll post the result.
-
OK, here is what I did and what I found.
I installed elxis in the sub directory, SEO off: content can be added / removed without problems from the back admin panel and by loggin through the front login panel.
Then I thought, why not try the same in the root directory. I reinstalled elxis, set permissions, SEO Off, .htaccess is not set (SEO is off anyway), tried adding content ...... I can add content if I login through the front panel (and it successfully appears on the front page even if I log out), but I can not see the content which is added through the back admin panel. I can see only sample content and content added via the front panel login.
paraxina pragmata.... ::)
I might have to proceed with installation in the subdirectory... :-\
-
reinstall? or just copy paste files?
did you mixed db path files ... etc?
-
i reinstalled elxis completely (removed all files, unzipped files again, changed permissions, run installation). Today I also set the htaccess file. The only thing - I connected it to the old DB and during installation i checked "drop existing tables", so it should all be new.
Still same effect - works from the front end, doesn't work from backend.
-
ok topic merged here!
Still same effect - works from the front end, doesn't work from backend.
are you using the correct live-site url?
seo is ok now?
content and links display correctly?
-
I finally found something interesting. When I add .htaccess file to the root directory, it turns off php5 (default is php4 and I have to enable php5 for for the root directory manually). When I enable php5 again, my .htaccess file is gone. I asked the hosting support about this and they asked to check if Elxis can run if php5 is running as cgi and not an Apache module which would work with .htaccess.
Actually, the installation in the sub directory seem to be running OK even without .htaccess file. But I suspect in my case the problem may be this cgi vs apache..........
Can somebody comment on this?
-
I on my server use suphp and run PHP as CGI/FastCGI, and all works great. :)
-
Duh!!!! ::)
I figured it out..... As usual: several sleepless nights, lots of coffee and waisted nerves just to find that magic checkbox to tick....... :P
The major problem was TIME.... Yes, time set in the locale tab of the configuration panel. My server is in the USA and server's time is in the New York time zone. During the installation Elxis suggested to me to put -7 hours, which I did and that apparently moved my real time 14 hours to the future. Somehow, content added NOW, was actually published only 14 hours later. That is why my added content was not appearing immedeately. I changed the time from -7 to +6 (to make it exactly what it is here now that the USA already switched to the daylight saving time) and the content started appearing without problems. When we switch to the daylight saving time I'll have to move it +1 hour to catch up.
I am not sure how it calculates time zones, to me -7 sounded as a correct time zone as between Cyprus & New York it is exactly 7 hours difference and USA is ahead of us.
Sounds like "Back to the Future" movie episode.
Another problem I mentioned above about php5 running as Apache CGI module was solved by comment from Datahel: I added the following line on top of my .htaccess file:
AddHandler cgi-php5 .php
PHP 5 started working without problems. I added new .htaccess file and php 5 remained working.
So I guess this topic can be closed. Thanks for all suggestions and help. I'll send a link once the site is running, but you'll probably hear from me before that..... ::)
-
Case closed I guess. He had wrong htaccess file.