Forums / Install & configuration / virtual host question,thanks

virtual host question,thanks

Author Message

qian chao

Tuesday 21 February 2006 11:30:39 pm

Hi,
I followed the instruction of 'virtual host setup' in the document,and it works

but how can I initialize the admin user password manually ?
and how to set the 'site type' and 'site functionality' as the web setup wizard do?
Thanks a lot.

Ɓukasz Serwatka

Wednesday 22 February 2006 3:12:38 am

Not sure what are you exactly want to do, but:

1. Password you can change in admin interface. Login as admin user, and on the right panel click "Change password".
2. You can add more packages and change design in admin interface. Look on Design->Look&Feel (Choose theme) and Setup->Packages.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

qian chao

Wednesday 22 February 2006 6:10:48 am

Many thanks; my idea is to build some hosting solution based on ezpublish for corporate website.
The scenario is when someone applies for a website. Some script can run on the backend to build a website for the customer. I am trying it on eapublish , till now , I can not figure out some script that can create the admin user password(the default password 'publish' is not good enough) , choose 'site type' and 'site functionality' just as the web wizard does.

My override/site.ini.append.php like this,

[SiteAccessSettings]

AvailableSiteAccessList[]=n1_user
AvailableSiteAccessList[]=n1_admin
AvailableSiteAccessList[]=n1_user
AvailableSiteAccessList[]=n1_admin

HostMatchMapItems[]=www.n1.com;n1_user
HostMatchMapItems[]=admin.n1.com;n1_admin
HostMatchMapItems[]=www.n2.com;n2_user
HostMatchMapItems[]=admin.n2.com;n2_admin

I just find another problem, when I login as admin user,choose 'design' on the menu, there is a list of 'SiteAccess' ,but it list All the sites. I mean it should only list the site that the admin user belong to , isn't it ?
Thanks

eZ debug

Timing: Jan 19 2025 04:35:03
Script start
Timing: Jan 19 2025 04:35:03
Module start 'content'
Timing: Jan 19 2025 04:35:04
Module end 'content'
Timing: Jan 19 2025 04:35:04
Script end

Main resources:

Total runtime0.9707 sec
Peak memory usage4,096.0000 KB
Database Queries194

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.0781180.8281
Module start 'content' 0.00700.8247 769.9063547.7656
Module end 'content' 0.83160.1390 1,317.6719332.7578
Script end 0.9706  1,650.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.4322210.0002
Check MTime0.00150.1504210.0001
Mysql Total
Database connection0.00110.115410.0011
Mysqli_queries0.890691.75311940.0046
Looping result0.00200.20421920.0000
Template Total0.941196.920.4705
Template load0.00280.290720.0014
Template processing0.938296.657320.4691
Template load and register function0.00020.023410.0002
states
state_id_array0.00100.105710.0010
state_identifier_array0.00080.079220.0004
Override
Cache load0.00230.2322280.0001
Sytem overhead
Fetch class attribute can translate value0.00190.190930.0006
Fetch class attribute name0.00220.222940.0005
XML
Image XML parsing0.00120.128130.0004
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00200.2108290.0001
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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs