Forums / Install & configuration / What's a web "designer" to do...?

What's a web "designer" to do...?

Author Message

john delrios

Monday 27 April 2009 4:13:21 am

I'm a newbee here, so please be gentle...

I'm a long-time web designer (NOT a code-guy) although I do my best with HTML, Javascript & Actionscript.

I would love to be able to figure out how to setup and use EZ Publishing CMS up and offer it to some of my clients (I build websites).

So I downloaded, installed it on my ISP Host (Linux) and fired it up, only to get this message right away:

Parse error: syntax error, unexpected ',', expecting '(' in /hsphere/local/home/delwad/riodesignltd.com/ez/index.php on line 106

Now before you say did you review the manual and setup the MySQL & PHP some-thing or other...my answer is "the what??"

I struggle here because documentation is written for code-people, not the rest of us. So when it say first do this (@#$^()**), then do this (%*U^%#@), etc. I get totally lost, discouraged, and bail out.

Is there an install guide that speaks "non-code-speak"??

I'll keep trying...

Any help would be appreciated ;-)

John

Björn Dieding@xrow.de

Monday 27 April 2009 8:14:43 am

can you cut and paste the lines around line index.php on line 106. 10 lines before and after would be ok i guess.

I have the feeling the something went wrong when unzipping or uploading the index.php. I would retry it, maybe that fixes it.

Did you make sure that you use php5?

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

john delrios

Monday 27 April 2009 10:01:49 am

Thanks Bjorn,

I've cut-n-pasted the section that you requested. I'll try unzipping and uploading again. I didn't get any "unzip" errors...Thanks

John

/*!
Reads settings from site.ini and passes them to eZDebug.
*/
function eZUpdateDebugSettings()
{
$ini = eZINI::instance();

$settings = array();
list( $settings['debug-enabled'], $settings['debug-by-ip'], $settings['log-only'], $settings['debug-by-user'], $settings['debug-ip-list'], $logList, $settings['debug-user-list'] ) =
$ini->variableMulti( 'DebugSettings',
array( 'DebugOutput', 'DebugByIP', 'DebugLogOnly', 'DebugByUser', 'DebugIPList', 'AlwaysLog', 'DebugUserIDList' ),
array( 'enabled', 'enabled', 'disabled', 'enabled' ) );
$logMap = array( 'notice' => eZDebug::LEVEL_NOTICE,
'warning' => eZDebug::LEVEL_WARNING,
'error' => eZDebug::LEVEL_ERROR,
'debug' => eZDebug::LEVEL_DEBUG,
'strict' => eZDebug::LEVEL_STRICT );
$settings['always-log'] = array();
foreach ( $logMap as $name => $level )
{
$settings['always-log'][$level] = in_array( $name, $logList );
}
eZDebug::updateSettings( $settings );
}

/*!

cousin mosquito

Monday 27 April 2009 8:39:17 pm

 

I struggle here because documentation is written for code-people, not the rest of us. So when it say first do this (@#$^()**), then do this (%*U^%#@), etc. I get totally lost, discouraged, and bail out.

Is there an install guide that speaks "non-code-speak"??

>>Is there an install guide that speaks "non-code-speak"??

I reckon its a codey kind of product.

I'd try installing it locally in a stack from these guys,
http://bitnami.org/stack/ezpublish
and see if you really want to invest your time in it. It does lots of very clever things, but you have to be prepared to spend the time to really understand. You might find other CMSes that do 90% of what it does but are easier to use.

Good luck

jeff

Asking the dumb questions for your benefit

Björn Dieding@xrow.de

Tuesday 28 April 2009 2:59:20 am

is $logMap = array( 'notice' => eZDebug::LEVEL_NOTICE, line 106?

If so your hosting provider runs php4 you need php5. Please check upon this.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Sara Keighley

Tuesday 28 April 2009 8:29:54 am

Good afternoon all,

I'm very interested in talking to any PHP developers who are familiar with eZ publish please!!

skeighley@teksystems.co.uk

Nikola Jankovic

Saturday 09 May 2009 8:21:27 am

Hello,

I have the same problem, getting error on the same line (106). My host is running PHP 5.2.9.

This is the code around line 106

                             array( 'DebugOutput', 'DebugByIP', 'DebugLogOnly', 'DebugByUser', 'DebugIPList', 'AlwaysLog', 'DebugUserIDList' ),
                             array( 'enabled', 'enabled', 'disabled', 'enabled' ) );
    $logMap = array( 'notice' => eZDebug::LEVEL_NOTICE,
                     'warning' => eZDebug::LEVEL_WARNING,
                     'error' => eZDebug::LEVEL_ERROR,
                     'debug' => eZDebug::LEVEL_DEBUG,
                     'strict' => eZDebug::LEVEL_STRICT );
    $settings['always-log'] = array();

(line 106 is the one beggining with $logMap)

I would appreciate your help.

Best regards,
Nikola

André R.

Saturday 09 May 2009 9:25:47 am

You hoster is probably running both php5 and 4, and you need to enable 5 somewhere or the hoster need to do it for you.

If you do not believe me, rename index.php to something else and create index.php with this content:

<?php
phpinfo();
?>

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

eZ debug

Timing: Jan 18 2025 18:17:11
Script start
Timing: Jan 18 2025 18:17:11
Module start 'content'
Timing: Jan 18 2025 18:17:12
Module end 'content'
Timing: Jan 18 2025 18:17:12
Script end

Main resources:

Total runtime0.8464 sec
Peak memory usage4,096.0000 KB
Database Queries217

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 587.8281180.8281
Module start 'content' 0.00560.7085 768.6563764.0391
Module end 'content' 0.71410.1322 1,532.6953344.4375
Script end 0.8463  1,877.1328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5000210.0002
Check MTime0.00160.1866210.0001
Mysql Total
Database connection0.00050.062510.0005
Mysqli_queries0.748588.43232170.0034
Looping result0.00300.35382150.0000
Template Total0.815996.420.4080
Template load0.00220.258320.0011
Template processing0.813796.141220.4069
Template load and register function0.00010.016510.0001
states
state_id_array0.00140.159710.0014
state_identifier_array0.00190.223120.0009
Override
Cache load0.00200.2372800.0000
Sytem overhead
Fetch class attribute can translate value0.00140.164970.0002
Fetch class attribute name0.00270.3150110.0002
XML
Image XML parsing0.00340.399070.0005
class_abstraction
Instantiating content class attribute0.00000.0025120.0000
General
dbfile0.00550.6475400.0001
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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/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
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs