How does the GenerateOverrideSettings.php work?

Author Message

Frode Marton Meling

Wednesday 04 June 2003 11:34:39 pm

My debug site is running on my XP machine, I'm not able to run the generateoverridesettings.php script. It fails, saying that parameters are missing. I have a siteaccess called "itportal" and I ran the script from ez <base folder>:

php -C update\common\scripts\generateoverridesettings.php itportal

This did not work.
-------------------------------------------------
Then I just edited the php file, removing the parameter reading, and replacing it with my itportal string. But still no override file was created. Are you suppose to copy the output from the script, manually to the override.ini.append?
-------------------------------------------------
One last question. Arent I suppose to se my siteaccess in the combobox when I choose to create a new template (for example in the setup/templateview/node/view/full.tpl)

MartOn

Paul Borgermans

Saturday 07 June 2003 5:29:46 am

>Are you suppose to copy the output from the script, manually
>to the override.ini.append?

Yes

>Arent I suppose to se my siteaccess in the combobox when I
>choose to create a new template (for example in the
>setup/templateview/node/view/full.tpl)

Yes, file a bug report please

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:02:19
Script start
Timing: Jan 18 2025 11:02:19
Module start 'layout'
Timing: Jan 18 2025 11:02:19
Module start 'content'
Timing: Jan 18 2025 11:02:19
Module end 'content'
Timing: Jan 18 2025 11:02:19
Script end

Main resources:

Total runtime0.0169 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.0469152.6406
Module start 'layout' 0.00580.0038 740.687539.4922
Module start 'content' 0.00960.0049 780.179789.3672
Module end 'content' 0.01440.0024 869.546930.3047
Script end 0.0168  899.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002615.5131140.0002
Check MTime0.00116.7415140.0001
Mysql Total
Database connection0.00095.625210.0009
Mysqli_queries0.002916.923730.0010
Looping result0.00000.148610.0000
Template Total0.001911.310.0019
Template load0.00106.017110.0010
Template processing0.00095.197910.0009
Override
Cache load0.00063.394110.0006
General
dbfile0.00021.460180.0000
String conversion0.00000.059440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs