Forums / Install & configuration / Setting up a new site, how hard can it be?!

Setting up a new site, how hard can it be?!

Author Message

Claus Jensen

Thursday 27 February 2003 5:37:03 am

Hi, Im trying to set up a new site, but are getting a little confused.

When reading in the sdk.ez.no, Main Concepts, they are setting up a new site my just editing in an existing site.ini file. While you could use a config.sh located in <ezpublish-home-dir>/config/config.sh to set up a new site.

In other words they are using the same term "site" on 2 different things.

The first is just making a new subfolder under the default "site", called www. Like in the sdk.

The second is using config.sh to make a whole new directory located in <ezpublish-home-dir>/sites... I got an error while doing this too, saying :
" ./config.sh: line 242: /opt/ezpublish//opt/ezpublish/apache-1.3.7/bin/apachectl: No such file or directory"
... so I think it went bad, just ended up with 3 files in the new "site" directory located here <ezpublish-home-dir>/sites/test

Anybody knows how I should make a new site, and whats the difference between the two? Any help appreciated. Thanks.

claÜs

Karsten Jennissen

Thursday 27 February 2003 6:31:35 am

> Hi, Im trying to set up a new site, but are getting a little
> confused.
>
> When reading in the sdk.ez.no, Main Concepts, they are
> setting up a new site my just editing in an existing
> site.ini file. While you could use a config.sh located in
> <ezpublish-home-dir>/config/config.sh to set up a new
> site.
>
> In other words they are using the same term "site"
> on 2 different things.
>
> The first is just making a new subfolder under the default
> "site", called www. Like in the sdk.
>
> The second is using config.sh to make a whole new directory
> located in <ezpublish-home-dir>/sites... I got an
> error while doing this too, saying :
> " ./config.sh: line 242:
> /opt/ezpublish//opt/ezpublish/apache-1.3.7/bin/apachectl: No
> such file or directory"
> ... so I think it went bad, just ended up with 3 files in
> the new "site" directory located here
> <ezpublish-home-dir>/sites/test
>
> Anybody knows how I should make a new site, and whats the
> difference between the two? Any help appreciated. Thanks.
>
> claÜs

Hi Claus,

i am not sure what the config.sh script does. But I'd go for the manual way. By "setting up a new site" you refer to creating your own site based on ez publish, right?

I'd do the following (after having installed ez publish + demo data + database)
- copy the design/demo to design/(yourdesignname)
- copy settings/siteaccess/demo to settings/siteaccess/(sitename)
- edit settings/siteaccess/site.ini.append to reflect the new design directory
- go on modifying the templates in your design folder you just copied to your liking and start learning how the template language works.

You might find stuff at http://ezwiki.blanko.info helpful.

Regards,
Karsten

Srinivas Gedela

Saturday 12 July 2003 4:36:50 am

Hi ! I have recently downloaded latest version of ez publish 3.1-1 and manually installed following the instructions on a Linux machine.

How to proceed further in creating a new website ?

I have gone through the SDK, but unable to understand.

Is there any step by step documentation which clearly explains for new comers ?

Please do reply...

Thanks & Regards,
Srinivas

eZ debug

Timing: Jan 18 2025 05:13:07
Script start
Timing: Jan 18 2025 05:13:07
Module start 'content'
Timing: Jan 18 2025 05:13:08
Module end 'content'
Timing: Jan 18 2025 05:13:08
Script end

Main resources:

Total runtime0.8647 sec
Peak memory usage4,096.0000 KB
Database Queries196

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 590.7813180.8047
Module start 'content' 0.00640.7422 771.5859524.5313
Module end 'content' 0.74860.1161 1,296.1172337.7734
Script end 0.8646  1,633.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.4304210.0002
Check MTime0.00140.1606210.0001
Mysql Total
Database connection0.00090.108710.0009
Mysqli_queries0.794691.89021960.0041
Looping result0.00170.19701940.0000
Template Total0.836196.720.4181
Template load0.00220.252520.0011
Template processing0.833996.443120.4170
Template load and register function0.00020.017810.0002
states
state_id_array0.00120.134510.0012
state_identifier_array0.00160.185820.0008
Override
Cache load0.00190.2219600.0000
Sytem overhead
Fetch class attribute can translate value0.00110.126440.0003
Fetch class attribute name0.00090.102230.0003
XML
Image XML parsing0.00060.068340.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00420.4813210.0002
String conversion0.00000.000630.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/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: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs