Extra / at the end of URL

Author Message

Fred Podnek

Thursday 24 April 2003 2:49:03 am

Hi everyone,

Running Linux Red Hat 9.0, where Apache 2.0 and newst version of PHP. I have installed Ez Publish and ran into a problem, which seems to be out of range to me right now. When I have logged into Ez Publish as a administrator and try to edit my stuff, then I receive error: The requested module 'index.php' could not be found (Kernel Error 20). URL looks like http://testit.localhost/cms/index.php/admin/content/edit/160/3//. If I remove extra / from the end, then everything works just fine. Can anyone help me out with that ? Same problem has been here earlier, but there was no solution to it, so I decided to ask once again.

Regards,

Fred

Jan Borsodi

Thursday 24 April 2003 11:13:30 pm

There has probably been a change in the newer version of Apache or PHP regarding urls, causing eZ publish to malfunction.
Could you give me the full version of Apache and PHP you are using?

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Fred Podnek

Friday 25 April 2003 12:45:35 am

Here's the exact information: Apache 2.0.40 and PHP 4.2.2.

Regards

Bill Christian

Friday 25 April 2003 7:23:56 pm

I have the same error for the noted situation. Additionally, the error is given when a user attempts to confirm registration via the email link. However, in this case the URL does not contain an extra slash.

Is this addressed in the the recent release 3.0-2?

Bill Christian

Tuesday 06 May 2003 8:37:25 am

Has anyone investigated the issue and possible solution related to this post? It affects user registration, so I need to get it resolved. My only option currently is to install Apache 1.3 which I rather not do.

Joel Finkel

Friday 16 May 2003 11:00:11 pm

Same issue here.

Apache/2.0.43
PHP Version 4.3.0-dev

-Joel

thomas zee

Thursday 29 May 2003 6:06:30 am

Same problem here but no extra / in my url

Robert MacKay

Friday 20 June 2003 8:58:55 pm

Hey,

Yea I'm getting the same error.
Apache/2.0.44 (Win32)
PHP 4.2.3
MySQL - 4.0.11-gamma

Are you sure its a fault in apache?
I might try running it on an apache 1.3.x server and see what happens

Esben Maaløe

Saturday 21 June 2003 12:26:45 pm

In the standard setup of 3.1.0-2 - because URLTranslation is not enabled by default - urls a'la /user/a_particular_node_i_wanna_see gives the 'module not found' error.

If that is the case you need to go to site.ini (or one of the overrides) and change

[URLTranslator]
# Use either enabled or disabled
Translation=disabled

to

[URLTranslator]
# Use either enabled or disabled
Translation=enabled

Not saying it will help the original poster - just trying to help others who might have this problem

Luc Chase

Friday 03 October 2003 1:13:52 pm

I have the same problem. But it seems to be a timing or caching problem I suspect to do with accessing the database because it happens fairly often (especially if the machine is thrashing the drive), but never happens twice in a row for the same link.

It may also be significant that sometimes a # is placed at the end instead of //, and then there is no error.

The Web Application Service Provider

Luc Chase

Tuesday 07 October 2003 6:56:24 pm

I've solved this one (at least my instance of this error). Here is what to look for.
It's not an extra slash '/' at the end but a missing node_id.
Look-out for...
$folder:item.node_id
in your code. It should be...
$Folder:item.node_id
Uppercase "F" in $Folder.

The Web Application Service Provider

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:11:18
Script start
Timing: Jan 18 2025 16:11:18
Module start 'layout'
Timing: Jan 18 2025 16:11:18
Module start 'content'
Timing: Jan 18 2025 16:11:19
Module end 'content'
Timing: Jan 18 2025 16:11:19
Script end

Main resources:

Total runtime0.6664 sec
Peak memory usage4,096.0000 KB
Database Queries93

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.3594152.6250
Module start 'layout' 0.00660.0028 741.984439.4453
Module start 'content' 0.00940.6555 781.4297821.7891
Module end 'content' 0.66500.0014 1,603.218820.1641
Script end 0.6664  1,623.3828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4994160.0002
Check MTime0.00120.1855160.0001
Mysql Total
Database connection0.00080.124310.0008
Mysqli_queries0.596489.4993930.0064
Looping result0.00080.1202910.0000
Template Total0.635095.320.3175
Template load0.00240.355620.0012
Template processing0.632694.928320.3163
Template load and register function0.00030.037510.0003
states
state_id_array0.00100.143210.0010
state_identifier_array0.00080.125920.0004
Override
Cache load0.00210.3194560.0000
Sytem overhead
Fetch class attribute can translate value0.00100.154180.0001
Fetch class attribute name0.00100.1475120.0001
XML
Image XML parsing0.00150.222380.0002
class_abstraction
Instantiating content class attribute0.00000.0028120.0000
General
dbfile0.00080.1269170.0000
String conversion0.00000.001140.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
11content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/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: 37
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs