Forums / Install & configuration / links don't work

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

eZ debug

Timing: Jan 18 2025 11:39:39
Script start
Timing: Jan 18 2025 11:39:39
Module start 'content'
Timing: Jan 18 2025 11:39:39
Module end 'content'
Timing: Jan 18 2025 11:39:40
Script end

Main resources:

Total runtime0.8371 sec
Peak memory usage4,096.0000 KB
Database Queries236

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.1406180.8359
Module start 'content' 0.00550.6479 769.9766705.0938
Module end 'content' 0.65340.1835 1,475.0703350.0703
Script end 0.8369  1,825.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.5112210.0002
Check MTime0.00160.1896210.0001
Mysql Total
Database connection0.00060.067910.0006
Mysqli_queries0.740488.45712360.0031
Looping result0.00250.29892340.0000
Template Total0.811096.920.4055
Template load0.00210.245420.0010
Template processing0.808996.638520.4045
Template load and register function0.00020.020810.0002
states
state_id_array0.00070.084910.0007
state_identifier_array0.00080.095220.0004
Override
Cache load0.00180.2161560.0000
Sytem overhead
Fetch class attribute can translate value0.00170.207660.0003
Fetch class attribute name0.00110.1263150.0001
XML
Image XML parsing0.00090.108060.0002
class_abstraction
Instantiating content class attribute0.00000.0026150.0000
General
dbfile0.00230.2753210.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 41
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs