[Solved] Install Step8 WAMP (was Fresh Install rev164-9969)

Forum rules
Only administrators can post or move items here.
Post Reply
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

[Solved] Install Step8 WAMP (was Fresh Install rev164-9969)

Post by jce76350 »

Hi,

new install (installer 05/20/15 09:30:06 ) with the last installer PHP 5.4.41 WAMP / BD name test - Mysql 5.5.24

In step 9
...
Installation du module ModuleManager
Installation du module Navigator
Message
- Notice: Trying to get property of non-object in ...\lib\page.functions.php on line 151
Stop

Code: Select all

[xdebug_message] => ( ! ) CmsSQLErrorException: INSERT INTO cms2_layout_tpl_type
                (originator,name,has_dflt,dflt_contents,description,
                 lang_cb,dflt_content_cb,requires_contentblocks,owner,created,modified)
                VALUES ('Navigator','navigation',1,'{* simple navigation *}\n{* note, function can only be defined once *}\n{* \n  variables:\n  node: contains the current node.\n  aclass: is used to build a string containing class names given to the a tag if one is used\n  liclass: is used to build a string containing class names given to the li tag.\n*}\n\n{function name=Nav_menu depth=1}{strip}\n<ul>\n  {foreach $data as $node}\n    {* setup classes for the anchor and list item *}\n    {assign var=\'liclass\' value=\'menudepth\'|cat:$depth}\n    {assign var=\'aclass\' value=\'\'}\n\n    {* the first child gets a special class *}\n    {if $node@first && $node@total > 1}{assign var=\'liclass\' value=$liclass|cat:\' first_child\'}{/if}\n\n    {* the last child gets a special class *}\n    {if $node@last && $node@total > 1}{assign var=\'liclass\' value=$liclass|cat:\' last_child\'}{/if}\n\n    {if $node->current}\n      {* this is the current page *}\n      {assign var=\'liclass\' value=$liclass|cat:\' menuactive\'}\n      {assign var=\'aclass\' value=$aclass|cat:\' menuactive\'}\n    {/if}\n\n    {if $node->parent}\n      {* this is a parent of the current page *}\n      {assign var=\'liclass\' value=$liclass|cat:\' menuactive menuparent\'}\n      {assign var=\'aclass\' value=$aclass|cat:\' menuactive menuparent\'}\n    {/if}\n\n    {if $node->children_exist}\n      {assign var=\'liclass\' value=$liclass|cat:\' parent\'}\n      {assign var=\'aclass\' value=$aclass|cat:\' parent\'}\n    {/if}\n\n    {* build the menu item node *}\n    {if $node->type == \'sectionheader\'}\n      <li class=\'sectionheader {$liclass}\'><span>{$node->menutext}</span>\n        {if isset($node->children)}\n          {Nav_menu data=$node->children depth=$depth+1}\n        {/if}\n      </li>\n    {else if $node->type == \'separator\'}\n      <li class=\'separator {$liclass}\'><hr class=\'separator\'/></li>\n    {else}\n      {* regular item *}\n      <li class=\"{$liclass}\">\n        <a class=\"{$aclass}\" href=\"{$node->url}\"{if $node->target ne \"\"} target=\"{$node->target}\"{/if}><span>{$node->menutext}</span></a>\n        {if isset($node->children)}\n          {Nav_menu data=$node->children depth=$depth+1}\n        {/if}\n      </li>\n    {/if}\n  {/foreach}\n</ul>\n{/strip}{/function}\n\n{if isset($nodes)}\n{Nav_menu data=$nodes depth=0}\n{/if}\n',NULL,'s:34:\"Navigator::page_type_lang_callback\";','s:35:\"Navigator::reset_page_type_defaults\";',0,NULL,1432115535,1432115535) -- Table 'test.cms2_layout_tpl_type' doesn't exist in ....\lib\classes\class.CmsLayoutTemplateType.php on line 376

Call Stack
#TimeMemoryFunctionLocation
10.1406197056{main}(  )...\cmsms-2.0-rc1-install.php:0
20.1406197928webPhar
(  )...\cmsms-2.0-rc1-install.php:8
30.4375339064Phar::webPhar(  )...\cmsms-2.0-rc1-install.php:8
40.62501211808cms_autoinstaller\cms_install->run(  )...(null):31
50.65621373248__appbase\wizard->process(  )...(null):319
60.65621473616__appbase\wizard_step->run(  )...(null):141
70.65621473744cms_autoinstaller\wizard_step9->display(  )...(null):38
81.68753561768cms_autoinstaller\wizard_step9->do_install(  )...(null):230
92.68756915432ModuleOperations->get_module_instance(  )...(null):82
102.68756915464ModuleOperations->_load_module(  )...\class.moduleoperations.inc.php:1088
112.70316989440ModuleOperations->_install_module(  )...\class.moduleoperations.inc.php:579
122.70316989488CMSModule->Install(  )...\class.moduleoperations.inc.php:394
132.70317031480include( 'F:\Sites\Test\temp2\modules\Navigator\method.install.php' )...\class.CMSModule.php:977
142.70317035688CmsLayoutTemplateType->save(  )...\method.install.php:54
152.70317035720CmsLayoutTemplateType->_insert(  )...\class.CmsLayoutTemplateType.php:420
NOTA in step 8 I have
Table créée additional_users... : Terminé
....
Table créée routes... : Terminé
Table créée layout_tpl_type... : Terminé
Index créé idx_layout_tpl_type_1
...
Index créé index_locks3... : Terminé
NO error on page srep 8 but not tables created ....
in the data base I have only
cms2_additional_users_seq
cms2_admin_bookmarks_seq
cms2_content_props_seq
cms2_content_seq
cms2_events_seq
cms2_event_handler_seq
cms2_groups_seq
cms2_group_perms_seq
cms2_userplugins_seq
cms2_users_seq
Jean-Claude Etiemble
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Fresh Install rev164-9969

Post by jce76350 »

Re test new install PHP 5.4.41 WAMP - Mysql 5.5.24

in step 8 all seems Ok
I have a notice
Notice: Undefined index: latest_content_modification in \lib\classes\internal\class.global_cache.php on line 44

Go to step 9
Same erreur below

Go back to step 8
Check data base All the tables are created

So step 9 is now Ok

and the install Ok
test admin and web site Ok
Jean-Claude Etiemble
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Fresh Install rev164-9969

Post by jce76350 »

Test an upgrade from V 1.12.0 PHP 5.4.41 WAMP - Mysql 5.5.24
Step 9

Mise à jour du module MicroTiny
Mise à jour du module ModuleManager
Mise à jour du module Navigator

STOP

Debug: (0) - (usage: 7228576) - (peak: 8619968)
CmsInvalidDataException Object
(
[_extra:CmsExtraDataException:private] =>
[message:protected] => Template Type with the same name already exists.

Code: Select all

 [previous:Exception:private] => 
    [xdebug_message] => ( ! ) CmsInvalidDataException: Template Type with the same name already exists. in F:\Sites\Test\temp2\lib\classes\class.CmsLayoutTemplateType.php on line 352
Call Stack
#TimeMemoryFunctionLocation
10.2344196128{main}(  )...\cmsms-2.0-rc1-install.php:0
20.2344197000webPhar
(  )...\cmsms-2.0-rc1-install.php:8
30.3281356592Phar::webPhar(  )...\cmsms-2.0-rc1-install.php:8
40.60941228808cms_autoinstaller\cms_install->run(  )...(null):31
50.62501385424__appbase\wizard->process(  )...(null):319
60.64061486136__appbase\wizard_step->run(  )...(null):141
70.64061486264cms_autoinstaller\wizard_step9->display(  )...(null):38
81.87503573640cms_autoinstaller\wizard_step9->do_upgrade(  )...(null):226
94.25006959992ModuleOperations->get_module_instance(  )...(null):31
104.25006960024ModuleOperations->_load_module(  )...\class.moduleoperations.inc.php:1088
114.26567034152ModuleOperations->_install_module(  )...\class.moduleoperations.inc.php:579
124.26567034200CMSModule->Install(  )...\class.moduleoperations.inc.php:394
134.26567079544include( ' \modules\Navigator\method.install.php' )...\class.CMSModule.php:977
144.28127189376CmsLayoutTemplateType->save(  )...\method.install.php:54
154.28127189512CmsLayoutTemplateType->_insert(  )...\class.CmsLayoutTemplateType.php:420
164.28127189728CmsLayoutTemplateType->validate(  )...\class.CmsLayoutTemplateType.php:365
In admin I see the old desing/templates xxx and an the new named xxx 2
Jean-Claude Etiemble
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Fresh Install rev164-9969

Post by jce76350 »

new test from a debian7 + php 5.6.9 Mysql 5.5.43

in step 8 all seems Ok
I have a notice
Notice: Undefined index: latest_content_modification in \lib\classes\internal\class.global_cache.php on line 44
- all the tables are created
-and step 9 is Ok
Jean-Claude Etiemble
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Fresh Install rev164-9969

Post by calguy1000 »

The notice should be fixed in svn now.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Fresh Install rev164-9969

Post by jce76350 »

The notice should be fixed in svn now.
-Test with rev 165-9972 PHP 5.4.41 WAMP - Mysql 5.5.24
Ok for the notice
always the same problem as post #1
The tables are not created in BD
On step 8 If reload the page (this create the tables in DB) , and go to step 9 No problem
Jean-Claude Etiemble
Jean le Chauve

Re: Install-upgrade Step8 WAMP (was Fresh Install rev164-996

Post by Jean le Chauve »

-Test with fresh install rev 165-9972 PHP 5.5.12 WAMP 2.5 - Mysql 5.6.17 Windows 7 64bits (deprecated activated)

End 8 step : Warning: file_put_contents(T:\Applications7\wamp\www\testV2\tmp\cache/f9796cae33093826529d590d92deb989a.dat): failed to open stream: No such file or directory in T:\Applications7\wamp\www\testV2\lib\classes\class.moduleoperations.inc.php on line 1039.

Go to step 9 without problem.
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Install Step8 WAMP (was Fresh Install rev164-9969)

Post by jce76350 »

I think I detect the bug ;)

Today I erase the data base and
test with rev 165-9975 PHP 5.4.41 WAMP - Mysql 5.5.24
I set the db prefix with cms2_
in step 8 i can see an data base

cms2_additional_users_seq
cms2_admin_bookmarks_seq
cms2_content_props_seq
cms2_content_seq
cms2_events_seq
cms2_event_handler_seq
cms2_groups_seq
cms2_group_perms_seq
cms2_userplugins_seq
cms2_users_seq
cms_additional_users
cms_adminlog
cms_admin_bookmarks


see picture Image

if you specify a prefix other than cms_ there is a problem in step 8

Note : On step 8 If reload the page (this create the tables with prefix cms2_ in DB) , and go to step 9 No problem
Jean-Claude Etiemble
jce76350
Beta Tester
Beta Tester
Posts: 2032
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Install Step8 WAMP (was Fresh Install rev164-9969)

Post by jce76350 »

Solved in svn 166 + 9979
Thanks
Jean-Claude Etiemble
Post Reply

Return to “Closed Issues”