links don't work

Author Message

Narco Sarnix

Friday 23 May 2003 1:03:56 am

Hi,

i have trouble getting started with ezpublish3. The installation went fine, yet when i want to log in i get a 404 document.
During the installation it said i hadn't set up a virtual host, what maybe could be the problem, because i had setup a virtual host in the httpd.conf and created an ip alias for it on the system.
anyone have an idea?

Karsten Jennissen

Friday 23 May 2003 1:44:38 am

This sounds like your running PHP as CGI. eZ publish doesn't work with PHP as CGI, but i think there have been efforts to create patches to get it to work. Don't remember where the threads were, but you could do a search for CGI on the forum.

Narco Sarnix

Friday 23 May 2003 6:11:55 am

thanks. i read the thread and the errors are simular, yet I don't have PHP running as CGI.

Karsten Jennissen

Friday 23 May 2003 10:50:41 am

Just to be on the safe side. Is your PHP memory limit set to more than 8MB (16MB, better 24MB)? That can cause 404s as well, I think.

jim caprioli

Friday 23 May 2003 2:33:02 pm

Hi Narco,

Are you on Apache 2.0.45 perhaps? You have to know that companies like eZ systems will never say: Apache 2 is not supported, instead they use the euphemism "not tested very well". I'll bet it'll work with 1.3.27.

I have been there too, and I found the solution... >>here<< on this forum. If you are on 1.3.27 OR if you somehow manage to get it to work with 2.0.45 please report here so that we can all learn from your experience.

RegardZ,
Jim Caprioli

Narco Sarnix

Saturday 24 May 2003 2:45:21 am

thanks for the comments. :)

after reading the thread about PHP as CGI I raised the memory limit to 16M, which didn't make a difference. Tried the open_base_dir option too, with the same result.

Ah, that could be the problem. I run Apache 2.0.44.
Is it possible to run both versions of Apache on 1 system? say Apache 1.* listening to port 81 orso.

Gerry Quach

Saturday 24 May 2003 9:30:08 am

I've finally found a fix for the 404 errors, via an old post on this forum :)

http://ez.no/developer/ez_publish_3/forum/install_configuration/note_apache_2043_and_path_info__1

I've also added a link to this fix to the user contributed documentation page.

jim caprioli

Sunday 25 May 2003 2:44:23 am

yes it's possible to run several apache's on one machine. i am not sure how to set this up when you run apache as an NT server though. I don't even run the windows installer. I use the apache distributions from the miniserver project on sourceforge. they have a mysql, php, apache distribution that's only 2MB! No PEAR and such of course, but it delivers what the average hosting company does.

jim caprioli

Sunday 25 May 2003 2:51:28 am

Just to make this clear...

Can Gary 100% *confirm* that he has ezPublish working on Windows XP with Apache 2.0.45 without any problems? ( In my case I still have to start 1.3.27. ) It is very well possible that I did something wrong when I set up Apache 2 last year.

Would you be so kind to either publish your httpd.conf and php.ini? Or pm these to me? jim.cp@nilostep.com? One .conf or .ini says more than a thousands forum messages.

I could learn something from this. Thanks.

Narco Sarnix

Sunday 25 May 2003 7:57:42 am

excellent, Patrick.
thanks for the URL's.

i got it working now. I can't confirm this solution for windows xp by experience, because i run freebsd 4-stable, php 4.3.1 and apache 2.0.44 at the moment.
the URL's Patrick gave are pretty interesting, so you might want to read them.
this is what i added to httpd.conf:
<Directory /<httpd-root>/ezpublish-x.x.x>
AcceptPathInfo On
</Directory>

jim caprioli

Sunday 25 May 2003 3:39:12 pm

Yes Patrick thanks for keeping this out of the thread, i thought this was open source, learning from each other's experience?

Last time I added something here.

Narco Sarnix

Monday 26 May 2003 12:27:06 am

Jim, maybe Patrick didn't read this thread. His name comes from the other thread. The usage of his name by me is a bit confusing i guess. sorry for that.

Karsten Jennissen

Monday 26 May 2003 12:50:00 am

Geeze, people getting p.... because others are not standing at their toes to help them out anytime they wish. Yes, this is open source, so everyone does things in their spare time and answers, help or co-operation are NOT guaranteed.

Gerry Quach

Monday 26 May 2003 6:32:13 pm

jim, who the heck is Gary? I assume you're referring to me :)

If you read the thread I posted earlier, it says I'm running Apache 2.0.45 on Mac OS X, not Windows XP. Anyway, my 404 error problems weren't due to PHP4's memory_limit or anything like that, but due to the PATHINFO problem. Read that thread by Atle to find out how to fix it (the fix is extremely simple, just add that one line to your httpd.conf), but then again I can't be sure that PATHINFO is the cause of your problems.

thomas zee

Thursday 29 May 2003 5:50:43 am

Ok my dedicated server is running apache is not running apache 2, and i'm still having problems. All the links on the demo page work, but when try to go to /user/login i get a 404 i tried putting the "AcceptPathInfo ON" directive in my my apache.conf but I just got when i restarted apache an error that it must be spelled wrong, or it not supppose to be there. I know it's spelled right..what could it be. I also added it to my .htaccess to to see if that was it and nothing...help

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:09:39
Script start
Timing: Jan 18 2025 16:09:39
Module start 'layout'
Timing: Jan 18 2025 16:09:39
Module start 'content'
Timing: Jan 18 2025 16:09:39
Module end 'content'
Timing: Jan 18 2025 16:09:39
Script end

Main resources:

Total runtime0.5510 sec
Peak memory usage4,096.0000 KB
Database Queries99

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 587.9141152.6250
Module start 'layout' 0.00490.0027 740.539139.4453
Module start 'content' 0.00760.5421 779.9844700.0156
Module end 'content' 0.54970.0013 1,480.000024.1719
Script end 0.5510  1,504.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.5500160.0002
Check MTime0.00130.2390160.0001
Mysql Total
Database connection0.00070.133910.0007
Mysqli_queries0.483987.8146990.0049
Looping result0.00080.1493970.0000
Template Total0.526395.520.2631
Template load0.00210.384320.0011
Template processing0.524195.117320.2621
Template load and register function0.00010.021910.0001
states
state_id_array0.00110.208010.0011
state_identifier_array0.00130.234320.0006
Override
Cache load0.00190.3458560.0000
Sytem overhead
Fetch class attribute can translate value0.00100.178350.0002
Fetch class attribute name0.00110.2016150.0001
XML
Image XML parsing0.00060.108250.0001
class_abstraction
Instantiating content class attribute0.00000.0063150.0000
General
dbfile0.00060.1022100.0001
String conversion0.00000.001340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
15content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
19content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 41
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs