osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Urgent Help required Please. Need to restore.

This is a discussion on Urgent Help required Please. Need to restore. within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I have made backups prior to making changes in Max1.7. Tried to use easy populate and came up with ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-29-2006, 07:41 PM
New Member
 
Join Date: Jul 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
RoyceK
Default Urgent Help required Please. Need to restore.

I have made backups prior to making changes in Max1.7.

Tried to use easy populate and came up with so catagory errors. Here the problem.

Went to retore back to my previous data and got this error:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 2876331 bytes) in /var/www/html/catalog/admin/backup.php on line 209

What have I done and is there a way around this error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 02-07-2006, 01:47 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,192
Thanks: 66
Thanked 291 Times in 277 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Urgent Help required Please. Need to restore.

That is a server level issue. Contact your host. Or manually split your backup file to smaller pieces.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 06-25-2006, 04:08 PM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default RE: Urgent Help required Please. Need to restore.

Michael,
I am getting a similar error when trying to admin my Products/Categories. Can you give some idea what the required memory allocation size is?

Thanks,
Ken
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 06-25-2006, 08:34 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,192
Thanks: 66
Thanked 291 Times in 277 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Urgent Help required Please. Need to restore.

It depends on your server setup. Memory allocation depends on the size of the file and available ram on the server (as well as max size set in php.ini)...
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 07-16-2006, 05:51 AM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default RE: Urgent Help required Please. Need to restore.

It looks like in some setups, 128MB isn't enough to Admin Products/Categories...what should it be on FreeBSD?

Thanks!

"Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 11935 bytes) in /usr/home/.........../domains/........../public_html/max2/catalog/admin/includes/functions/general.php on line 251"

My host is getting peevish about the memory limit being this 'high'

Here is the server info:

FreeBSD 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386

================================PHPInfo()
allow_call_time_pass_reference On On
allow_url_fopen On On
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 2039 2039
expose_php On On
extension_dir ./ ./
file_uploads On On
gpc_order GPC GPC
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/lib/php .:/usr/local/lib/php
log_errors On On
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
max_execution_time 30 30
max_input_time 60 60
memory_limit 128M 128M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 64M 64M
precision 12 12
register_argc_argv On On
register_globals On On
report_memleaks On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i -f foodnsport@foodnsport.com /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 128M 128M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
==============================================
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 07-20-2006, 10:06 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,192
Thanks: 66
Thanked 291 Times in 277 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default RE: Urgent Help required Please. Need to restore.

The only time I ever saw this error was when the memory limit was set too high in php.ini. It may sound odd, but lowering the memory limit should fix the problem.

osCMax is is only trying to allocate 11935 bytes according to the error, and it is failing.
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 07-25-2006, 07:26 AM
Member
 
Join Date: Jul 2005
Posts: 91
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
kenlyle
Default RE: Urgent Help required Please. Need to restore.

OK, Michael. That is a good tip.

For now, this problem apparently arose when *something* wrote a record with a Category ID of 0 (zero) into the Categories table. I had to do a clean install to see that there was no such record in the db, so I backed up the table and deleted that rogue record. I hope this helps someone, sometime.

This bad record also caused a similar problem in the Infobox Admin, which also cleared when the zero record was deleted.

K
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Urgent!! Urgent!!--PROBLEM WITH WEB SITE--HELP!! Walter osCommerce 2.2 Modification Help 4 11-27-2005 03:14 AM
Help Required leeb osCMax v1.7 General Mods Discussion 0 01-18-2005 04:24 PM
Backup restore problems hamnebo osCommerce 2.2 Installation Help 1 11-30-2004 11:38 AM
Stylesheet help required philz osCommerce 2.2 Modification Help 1 03-11-2003 11:27 PM


All times are GMT -8. The time now is 02:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax