Forums / Setup & design / New classes won't show

New classes won't show

Author Message

Sveinung Marvik

Thursday 22 April 2004 1:07:52 am

When creating new classes (content in my case) they won't show in the content class list. This all started after trying to _edit_ a class and insert new attributes. The new attributes I added would not show up when viewing the class, but would show up when choosing 'edit'. It just seems like the new attributes I add don't get stored.

After removing the troublesome class, and trying to make a new one, I noticed that _no_ new classes whatsoever would show up in the class-listing. I've had a peek in the eZ database, and all new classes and attributes are indeed there, but there seems to be some kind of missing connection.

I know some people have had somewhat similar problems, but I couldn't find anyone with problems exactly like this. Does anybody know how I can repair this, and get eZ on it's feet again?

I'm using eZ Publish 3.3-4 with MySQL, Debian Stable.

Peter Whitefield

Monday 26 April 2004 4:49:47 am

Great software, cool design, however I am also having this problem when doing the "Building an eZ publish site" tutorial. The members class was created fine, got to the guestbook entry class, go through the same steps to create it, but it never appears in the list of Content classes. Help!

I also have another instance of ez publish containing a site derived from the news template. This also allow creation of a class and "failed" on the 2nd class (I too can see entries in the database for the 2nd class, but it never appears on the list).

Am using ezPublish 3.3-4 with mysql 3.23.39 php 4.1.2 apache 1.3.23 and rehdat 7.3

Balazs Halasy

Monday 26 April 2004 5:37:17 am

Hi people,

I just wrote a reply to a mail from a fellow who seems to have the same problem. Could one of you please re-check all settings (make sure that evertything is correctly set up) and try to reproduce the problem from within a clean install? Just throw in a new version of 3.3-4 with plain design and attempt to create the classes as you did before. Does it work? Does it fail? If it fails: please file a descriptive bugreport using the bugtracking system:

http://ez.no/community/bug_reports
(you'll have to be logged in to use it)

Thanks in advance.

Balazs

Balazs Halasy

Monday 26 April 2004 5:49:15 am

Update:

I had 5 min. to spare so I installed 3.3.4 with the plain scheme locally (debian unstable with apache 1.26, PHP 4.3.2, MySQL 4.1.0). I was able to create new + alter existing class definitions (I also created instances of these classes) - everything seems to be just fine.

Balazs

Sveinung Marvik

Monday 26 April 2004 6:02:14 am

I haven't had time to test with a clean install yet, but I'll see what I can do. However I'm starting to wonder if this could be related to what browser the admin-interface is being accessed through? Or perhaps if the interface is being accessed from a logged in admin from two separate locations?

This might be totally irrellevant, but I just wanted to pose these questions in case. I appreciate that a more detailed bugreport is more useful for you, so I'll try to reproduce the artifacts with a clean install in the near future.

Wenyue Yu

Monday 26 April 2004 6:13:23 am

Hi,

The problem is because of the old php version ( some bug with session ). If your php version is 4.1.2, you will encounter this problem. Note that eZ publish require php version > 4.3.x.

Regards,
wenyue

Sveinung Marvik

Monday 26 April 2004 6:28:21 am

My php version is indeed 4.1.2.

Thank you very much for this tip. I'll upgrade and report back if successfull.

Peter Whitefield

Tuesday 27 April 2004 5:14:43 am

Have downloaded and installed php 4.3.6 and now have successfully added 3 new
ez publish classes.

During the installation I was warned "Your PHP version, which is 4.1.2,
is known to be unstable." but chose to ignore it !

Will now return to complete the tscm site.

Not only great software, but great support too.

Thanks.

eZ debug

Timing: Jan 19 2025 07:07:12
Script start
Timing: Jan 19 2025 07:07:12
Module start 'content'
Timing: Jan 19 2025 07:07:13
Module end 'content'
Timing: Jan 19 2025 07:07:14
Script end

Main resources:

Total runtime2.0407 sec
Peak memory usage4,096.0000 KB
Database Queries213

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0126 590.0781180.8438
Module start 'content' 0.01261.7806 770.9219636.5000
Module end 'content' 1.79330.2474 1,407.4219340.4453
Script end 2.0407  1,747.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00560.2733210.0003
Check MTime0.00190.0922210.0001
Mysql Total
Database connection0.00190.094210.0019
Mysqli_queries1.939495.03712130.0091
Looping result0.00310.15232110.0000
Template Total1.958496.020.9792
Template load0.00290.142120.0014
Template processing1.955595.826020.9778
Template load and register function0.00020.012110.0002
states
state_id_array0.00130.064310.0013
state_identifier_array0.00350.173120.0018
Override
Cache load0.00250.1238430.0001
Sytem overhead
Fetch class attribute can translate value0.00160.078750.0003
Fetch class attribute name0.00120.059490.0001
XML
Image XML parsing0.00120.060250.0002
class_abstraction
Instantiating content class attribute0.00000.0007100.0000
General
dbfile0.00470.2312270.0002
String conversion0.00000.000430.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/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: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs