Forums / Install & configuration / BUG!?! problem with DISTRIBUTION - missing file extentions!

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

eZ debug

Timing: Jan 18 2025 10:27:46
Script start
Timing: Jan 18 2025 10:27:46
Module start 'content'
Timing: Jan 18 2025 10:27:46
Module end 'content'
Timing: Jan 18 2025 10:27:46
Script end

Main resources:

Total runtime0.8351 sec
Peak memory usage4,096.0000 KB
Database Queries224

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 589.1250180.7891
Module start 'content' 0.00720.6877 769.9141737.1875
Module end 'content' 0.69490.1401 1,507.1016344.4219
Script end 0.8350  1,851.5234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4751210.0002
Check MTime0.00140.1723210.0001
Mysql Total
Database connection0.00130.149910.0013
Mysqli_queries0.745089.20822240.0033
Looping result0.00240.28412220.0000
Template Total0.801996.020.4009
Template load0.00230.275320.0011
Template processing0.799395.707320.3996
Template load and register function0.00020.023410.0002
states
state_id_array0.00270.326810.0027
state_identifier_array0.00200.237820.0010
Override
Cache load0.00200.2438610.0000
Sytem overhead
Fetch class attribute can translate value0.00100.118260.0002
Fetch class attribute name0.00130.1524120.0001
XML
Image XML parsing0.00110.131960.0002
class_abstraction
Instantiating content class attribute0.00000.0028120.0000
General
dbfile0.00420.5070270.0002
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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 38
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs