Down load free music

General Support for technical Issues relating to AlegroCart
User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Down load free music

Post by leo » Mon May 07, 2012 9:55 am

try this:
php_value upload_max_filesize 64m

mike24williams
Posts: 57
Joined: Mon May 23, 2011 10:34 pm

Re: Down load free music

Post by mike24williams » Mon May 07, 2012 10:55 am

Hi leo,
That has the same effect. Looses connection to the shop

regards

mike

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Down load free music

Post by leo » Mon May 07, 2012 2:33 pm

Create a file called php.ini with the content (use notepad++):

Code: Select all

upload_max_filesize = 64M;
Upload it to your server next to the .htaccess file.

mike24williams
Posts: 57
Joined: Mon May 23, 2011 10:34 pm

Re: Down load free music

Post by mike24williams » Thu May 10, 2012 1:33 pm

Hi Leo,
Thanks for the reply. I created the file and inserted the code but it failed to upload. the browser (firefox) was indicating that it was waiting for the website. It tried for about 10mins then it must have timed out.

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Down load free music

Post by leo » Thu May 10, 2012 1:46 pm

Try with this content:
php_value post_max_size 100M
upload_max_filesize = 100M
I removed the semicolons. If this does not word re-add them.

mike24williams
Posts: 57
Joined: Mon May 23, 2011 10:34 pm

Re: Down load free music

Post by mike24williams » Thu May 10, 2012 10:41 pm

Hi Leo,
thanks for your repy, I tryed both methods but still the same unfortunatly. the browser times out, and no file uploaded. the same in both firefox and IE.

regards

mike

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Down load free music

Post by leo » Thu May 10, 2012 10:44 pm

Brent suggested here another solution that worked:
viewtopic.php?f=12&t=289&p=1484&hilit=memory#p1484

mike24williams
Posts: 57
Joined: Mon May 23, 2011 10:34 pm

Re: Down load free music

Post by mike24williams » Fri May 11, 2012 3:50 am

Hi Guys,

Please see the following error.

64M
Warning: Cannot modify header information - headers already sent by (output started at /home/theroy18/public_html/scamshop/common.php:5) in /home/theroy18/public_html/scamshop/library/session/session.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at /home/theroy18/public_html/scamshop/common.php:5) in /home/theroy18/public_html/scamshop/library/language/language.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /home/theroy18/public_html/scamshop/common.php:5) in /home/theroy18/public_html/scamshop/library/cart/currency.php on line 48

User avatar
leo
admin
Posts: 4320
Joined: Sun Dec 13, 2009 8:27 am
Location: Hungary

Re: Down load free music

Post by leo » Fri May 11, 2012 5:14 am

So, you have added the line to your common.php:

Code: Select all

<?php
if(!defined('VALID_ACCESS')){ header('Location: index.php');exit('Forbidden Path');}
// REPORT ALL ERRORS
echo ini_get('memory_limit');
error_reporting(E_ALL);
and you got this error?
You have mistyped something, I guess.

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Down load free music

Post by Brent » Fri May 11, 2012 9:21 am

comment out the line:

Code: Select all

echo ini_get('memory_limit');

Code: Select all

//echo ini_get('memory_limit');
That line is to test your memory allocation. It is the 64M you see at the start.
You don't need the line anymore as it was just for information. It is the output that is echoed(64M) that causes the error.

Post Reply