• DaliborNik

    (@dalibornik)


    Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 122880 bytes) in /home/orbithea/public_html/wp-content/plugins/wp-e-commerce/wpsc-merchants/chronopay.php on line 92

    Just installed wp e-commerce and lost all the photos from galleries

    Pls see above.

    Any help welcome

    Thanks

Viewing 15 replies - 1 through 15 (of 18 total)
  • rmasfer

    (@rmasfer)

    Did you try to increase upload size of your server? It is something to do with your server setting.

    Thread Starter DaliborNik

    (@dalibornik)

    I have 150Gigs on the server, and I’m hardly using 1/100 of it at the moment.

    I think it is somenthing with PHP. But I might be wrong.

    rmasfer

    (@rmasfer)

    Yes. That is your server capacity. But we have set the maximum allowed size for uploaded files.

    check this link.
    https://stackoverflow.com/questions/2184513/php-change-the-maximum-upload-file-size

    You can change those setting using .htaccess file

    Thread Starter DaliborNik

    (@dalibornik)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    This is the copy of .htaccess file

    Which line should I update.

    Many thanks

    rmasfer

    (@rmasfer)

    Try this

    php_value post_max_size 30M
    php_value upload_max_filesize 30M

    Note : Change amount of size you need.

    rmasfer

    (@rmasfer)

    Just add those code inside your htaccess file.

    Thread Starter DaliborNik

    (@dalibornik)

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    This is the code I updated:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    php_value post_max_size 30M
    php_value upload_max_filesize 30M
    # END WordPress

    Thread Starter DaliborNik

    (@dalibornik)

    when I removed

    php_value post_max_size 30M
    php_value upload_max_filesize 30M

    The site poped out easily

    rmasfer

    (@rmasfer)

    Because you don’t have permission to change server settings.

    I think you have contact your host provider or check your host admin page (Eg. cpanel) to change PHP values

    Thread Starter DaliborNik

    (@dalibornik)

    Spoke to the host provider (crazydomains) and they said there is nothing to do with them.

    They said I have to adjust PHP myself which is a problem as I dont know how to do that

    rmasfer

    (@rmasfer)

    Send me your host details. I will try to help you.

    [ Deleted ]

    Thread Starter DaliborNik

    (@dalibornik)

    I fixed it uo with “Change Memory Limit”

    Works well, dont need to go through php or so

    problem solved

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @rmasfer, please try to keep support on these forums.

    @dalibornik, hopefully you didn’t give away any login credentials.

    rmasfer

    (@rmasfer)

    @andrew Nevins I only wanted him. I have nothing to do with his login credentials

    rmasfer

    (@rmasfer)

    @andrew Nevins I only wanted to help him. I have nothing to do with his login credentials

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Memory size problem’ is closed to new replies.