Best Download Sites Login
Site Login
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 123
TOPIC: Compile error messages
#1870
Compile error messages 1 Year, 11 Months ago Karma: 0
Am trying to compile a Section on a Joomla 1.5.14 site to move it to a 1.5.15 site. 3587 stories in section. Memory problem?

Notice: Undefined variable: sectionid in /homepages/1/d120815945/htdocs/gpm/ administrator/components/ com_export_content/ admin.export_content.php on line 871

Notice: Undefined variable: cid in /homepages/1/d120815945/htdocs/gpm/ administrator/components/ com_export_content/ admin.export_content.php on line 871

Notice: Undefined variable: id in /homepages/1/d120815945/htdocs/gpm/ administrator/components/ com_export_content/ admin.export_content.php on line 871

Notice: Undefined variable: _xml in /homepages/1/d120815945/htdocs/gpm/ administrator/components/ com_export_content/dump_joomla_new.php on line 35

Notice: Undefined variable: _staticxml in /homepages/1/d120815945/htdocs/gpm/ administrator/components/ com_export_content/dump_joomla_new.php on line 143

Fatal error: Out of memory (allocated 18350080) (tried to allocate 16 bytes) in /homepages/1/d120815945/htdocs/gpm/ libraries/joomla/database/database/ mysql.php on line 462
timtecsa
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1871
Re:Compile error messages 1 Year, 11 Months ago Karma: 10
Am trying to compile a Section on a Joomla 1.5.14 site to move it to a 1.5.15 site. 3587 stories in section. Memory problem?

Yes you will need to change your max execution time to 120 seconds, 30 seconds is normally default.

That said once you download the compiled data and then attempt to install it on the destination site you may run into a max upload limit issue as well.

You can either change the two settings above or have your host do it for you.

Or a work around around is to create a dummy section or sections and using the copy feature under category manager copy a few categories at a time to the dummy section(s) and then compile the smaller sections one at a time.

Basically the aim here is to try and break your content up into smaller packages.

Please Note: Once you install the data and transfer using export content on the destination site you will have the option of constructing your site structure in any way you like.

Please let me know how you get on.
Steve
Admin
Posts: 524
graph
User Offline Click here to see the profile of this user
Last Edit: 2010/02/24 06:05 By Steve.
The administrator has disabled public write access.
 
#1872
Re:Compile error messages 1 Year, 11 Months ago Karma: 0
Any suggestions on how big a chunk to try to copy into a dummy section and compile at at a time?
My next section is ~ 7,500 stories
timtecsa
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1873
Re:Compile error messages 1 Year, 11 Months ago Karma: 10
Any suggestions on how big a chunk to try to copy into a dummy section and compile at at a time?
My next section is ~ 7,500 stories


It would depend on how long each story is, the "max execution time" and "max upload limit" are set to.

I suggest you should start with a few hundred just to make sure it's working ok.
Then I would try about 500 and see how it goes.
Then try 1,000 and so on until you work out what you can move at once.
Steve
Admin
Posts: 524
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1874
Re:Compile error messages 1 Year, 11 Months ago Karma: 0
Server settings are:

Sub Section Directive Info Value
Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2" c:\php\includes" .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time Maximum execution time of each script, in seconds 60
Resource Limits max_input_time Maximum amount of time each script may spend parsing request data 90
Resource Limits memory_limit Maximum amount of memory a script may consume (32MB) 128M
Data Handling register_globals You should do your best to write your scripts so that they do not require register_globals to be on; Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of. Off
Language Options safe_mode Off
main session.save_path Argument passed to save_handler. In the case of files, this is the path where data files are stored. Note: Windows users have to change this variable in order to use PHP's session functions. As of PHP 4.0.1, you can define the path as: session.save_path = "N;/path" where N is an integer. Instead of storing all the session files in /path, what this will do is use subdirectories N-levels deep, and store the session data in those directories. This is useful if you or your OS have problems with lots of files in one directory, and is a more efficient layout for servers that handle lots of sessions. NOTE 1: PHP will not create this directory structure automatically. You can use the script in the ext/session dir for that purpose. NOTE 2: See the section on garbage collection below if you choose to use subdirectories for session storage /tmp
File Uploads upload_max_filesize Maximum allowed size for uploaded files. 16M

I have changed php.ini files for timeout settings before but can't remember how to do it now.

Tim
timtecsa
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123

Business Proposal If you have a Business Proposal that you think may be of interest to us here at Best Download Sites please contact us to discuss the matter in further detail