BUG!?! problem with DISTRIBUTION - missing file extentions!

Author Message

julie ng

Friday 04 July 2003 11:07:19 am

Ok, so i've been struggling with eZPublish for a long time now, I've just made the discovery that there are problems with the LATEST distribution. The file names are too long and a lot of them are shortened.

For example in the lib/eztemplate/classes folder
there is a file called "eztemplatearithmeticoerator.ph" which should be: "eztemplateartithmeticoperator.php"

And there are MANY more problems like that esp, in the kernel folder.

Is this ia potential bug/problem? The only reason I discovered this is because I'm in debug mode and I'm noticing that certain files aren't loading, and that's b/c these files are missing exntentions etc.

Is there a list of all the ezPublish files? so i can properly rename them all? Some of them are not as easy to fix as they are horrendously long.

I'm using Mac OS X 10.2 Jaguar if that is helpful.
But my server is a Redhat Linux server.

julie ng

Friday 04 July 2003 11:16:28 am

Grrr, I've resorted to using stupid PC to upload the kernel files all over b/c of this problem.

The filesnames are correct on the PC. I guess the mac can't handle the long file names. :( Though, I must say you guys need to put a warning for the rest of us and stop using such long file names!

julie ng

Friday 04 July 2003 11:26:25 am

the whole thing's broke and gone to hell. SIGH. I replaced the entire kernel directory and now the whole thing doesn't work, any ideas?

Tony Wood

Friday 04 July 2003 12:15:03 pm

Hi Julie,

Firstly, i'm not a Mac user, so cannot recreate your problem, but i am interested in the problem.

Is it the filesystem that cannot support the long filenames or is it php? Can you upgrade php?

I can answer this, i would not go changing the filenames in the kernel, it would be too much of a chore, especially when upgrading.

--tony

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

julie ng

Friday 04 July 2003 4:27:02 pm

The mac can handle it, like it's okay, if I rename them. When I download zipped files, Stuffit automatically unzips them for me, and they're already missing extentions and parts of file names, etc. It's eithe the mac or Stuffit.

Here's a screenshot of what I mean:
http://ezpublish.clio360.com/ezpubexts.gif

Yeah, I gave up on renaming things. I'm reinstalling with my Dell laptop right now. Sigh, I reuploaded the entire kernel directory from the distribution and the whole thing went to hell in a bucket as a I say. I'm getting "cannot find server" errors all of the place.

sigh.

Selmah Maxim

Saturday 05 July 2003 1:25:00 am

Hi ..

You may try this, unzip the files on pc then copy the unziped files to mac, maybe is its the unzip program !

Maggie Martin

Monday 07 July 2003 12:29:51 pm

HI Julie

I wrote a message about this here and list the files that are effected:
http://ez.no/developer/ez_publish_3/forum/install_configuration/length_of_file_names_causes_errors_for_mac_os9_user

In MacOS9 there is a file extension limit to 31 characters
MacOSX & Unix don't have this problem

a fix is to manually upload the files and then correct the file names on the server using one's FTP program (Fetch is what I use)

Hope this helps

M.

julie ng

Tuesday 08 July 2003 8:39:30 pm

Hi Maggie, thanks for the message. I'm using Mac OS X 10.2.6 Jaguar with the latest patch, and I am having this problem. Just so you know it is an OS X problem too.

In OS X, the file name limit is longer, but the problem still arises because of the unzipping program StuffIt.

julie ng

Tuesday 08 July 2003 8:43:02 pm

Downloading the latest version of StuffIt Expander 7.03 prevents this problem from happening on the Mac OS X.

Maggie Martin

Wednesday 09 July 2003 12:38:51 pm

Thanks for the info, Julie

I'll be going to OSX in a couple of months ...

I'll upgrade to the new StuffIt right away.

M.

geovanni rosetto

Wednesday 09 July 2003 4:45:01 pm

Hi julie,
If you are running Mac OS X try this command in the "Terminal" app (you can find it in the "/Applications/Utilities" folder.)

1. Open a terminal window
2. Type "curl -O http://www.ez.no/content/download/30578/78387/file/ezpublish-3.1-1.tar.gz"
3. Type "sudo mv ezpublish-3.1-1.tar.gz Desktop/"
4. Type "gunzip ezpublish-3.1-1.tar.gz"

Now check your Desktop folder.

Good luck,

geo

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 14:56:55
Script start
Timing: Jan 18 2025 14:56:55
Module start 'layout'
Timing: Jan 18 2025 14:56:55
Module start 'content'
Timing: Jan 18 2025 14:56:56
Module end 'content'
Timing: Jan 18 2025 14:56:56
Script end

Main resources:

Total runtime0.9564 sec
Peak memory usage4,096.0000 KB
Database Queries87

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.6406152.6563
Module start 'layout' 0.00590.0024 742.296939.4922
Module start 'content' 0.00830.9469 781.7891732.0781
Module end 'content' 0.95520.0011 1,513.867220.0938
Script end 0.9563  1,533.9609 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3456160.0002
Check MTime0.00130.1371160.0001
Mysql Total
Database connection0.00160.168110.0016
Mysqli_queries0.889292.9822870.0102
Looping result0.00090.0921850.0000
Template Total0.926396.920.4631
Template load0.00210.219720.0011
Template processing0.924296.635020.4621
Template load and register function0.00010.014710.0001
states
state_id_array0.00130.138910.0013
state_identifier_array0.00170.178220.0009
Override
Cache load0.00180.1931610.0000
Sytem overhead
Fetch class attribute can translate value0.00080.087450.0002
Fetch class attribute name0.00100.1096120.0001
XML
Image XML parsing0.00090.097850.0002
class_abstraction
Instantiating content class attribute0.00000.0023120.0000
General
dbfile0.00120.1212160.0001
String conversion0.00000.000840.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
17content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs