January 24, 2012 at 10:16 am #20186SacredCowMember
My mistake, the php.ini file says 640M, not 64M…January 25, 2012 at 3:26 am #20187
I have sent you an email to get site access so I can checkout some details.January 25, 2012 at 10:23 am #20188
@SacredCow, Your theme is seriously messing something up on your site. You have hundreds of errors in your error log file (sacredcowenterprises.com/error_log) that looks like the following!
[25-Jan-2012 10:09:13] PHP Warning: Missing argument 1 for _e(), called in /home1/twistef1/public_html/sacredcowenterprises.com/wp-content/themes/OurBusiness/footer.php on line 22 and defined in /home1/twistef1/public_html/sacredcowenterprises.com/wp-includes/l10n.php on line 141
[25-Jan-2012 10:10:25] PHP Warning: Missing argument 1 for _e(), called in /home1/twistef1/public_html/sacredcowenterprises.com/wp-content/themes/OurBusiness/footer.php on line 22 and defined in /home1/twistef1/public_html/sacredcowenterprises.com/wp-includes/l10n.php on line 141
I temporarily installed the default WordPress theme to test and when I activate the plugin it works fine.May 7, 2012 at 2:39 pm #20189
I just bought the eStore plugin but it does not activate.
Log file has these lines repeating:
[Mon May 07 22:27:00 2012] [error] [client 220.127.116.11] PHP: syntax error, unexpected '(' in /home2/mydomainuser/public_html/php.ini on line 3
[Mon May 07 22:25:52 2012] [error] [client 18.104.22.168] PHP: syntax error, unexpected '(' in /home2/mydomainuser/public_html/wp-admin/php.ini on line 3, referer: http://ozzicat.com.au/wp-admin/plugins.php?error=true&plugin=wp-cart-for-digital-products%2Fwp_cart_for_digital_products.php&_error_nonce=8025d46057
The mentioned ini files content:
/* Increasing memory allocated to PHP */
I requested a “fresh link” and uploaded the plugin again, but the same result.
I tried both ways: upload via Admin and upload via FTP.
I tried to increase the limit to 256M.
Could you please advice on what can it be?
Thank you in advance!
Memory usage : 41.69 MByte
MYSQL Version : 5.0.95-community
PHP Version : 5.3.10
PHP Memory Limit : 128MMay 7, 2012 at 3:05 pm #20190
Something is wrong… there is no “wp-admin/php.ini” file. Also, the example lines posted are not the correct syntax for a valid “php.ini” file. How did you get these files/lines installed on your server?
BTW, in case you were trying to DIY your “php.ini” file, here are some reference materials, explaining the correct way to configure PHP.
It is usually best to let your hosting provider change the php.ini file when needed.May 9, 2012 at 1:17 pm #20191
Thank you for the reply and advice.
I have php.ini in /wp-admin/ (and in the site root). If I remove it from /wp-admin/ I get “Allocated memory exhausted” error. So I had to increase memory limit and put php.ini there.
Thanks for noticing the incorrectness in the php.ini.
I checked the links you gave, it looks like I just copied that text from another (.php) file!
I changed php.ini content to this:
; Increasing memory allocated to PHP
I tried to activate the plugin after that, but still get the error:
Plugin could not be activated because it triggered a fatal error.
(And no more details in this error message).
What could you recommend to try next?
Thanks a lot.
NatalieMay 9, 2012 at 4:01 pm #20192
The messages are being caused by PHP itself, because you are using the wrong configuration syntax for doing what you are trying to do.
The correct syntax for increasing PHP memory in the PHP.ini file is:
memory_limit = 128MMay 10, 2012 at 3:25 pm #20193
Ah, indeed! I was copying from WP’s wp-config which had different syntax.
Thanks heaps for pointing out.
I changed it to:
; Increasing memory allocated to PHP
memory_limit = 512M ;
Tried to activate after that, still fatal error…
No related errors in the log file.
May be you know, if I deactivate NextGen Gallery and then activate it again, will all my products be there or will I need to add them again?
I can try to deactivate it, just scary about that I may be required to add all products again )
I just don’t know what else to try…
Thanks heaps for your advice,
NatalieMay 10, 2012 at 3:41 pm #20194
Yes, all your products and other data will be there even if you deactivate and then reactivate later.
In the root level of your website, create a test.php file that contains the following line:
<?php phpinfo(INFO_ALL); ?>
Then, execute it from your browser as http://yoursite/test.php
Take note of whatever the results say about available memory.
Remember to delete the test.php file after this test.May 12, 2012 at 6:43 am #20195
It says 512M of available memory.
I deactivated all plugins, tried to activate and no luck again.. No errors in the log file.
Could you please recommend other steps?
Is there any way to “track” what’s going on during activation? It could possible help to understand what causes all of this.
By the way, I tried to install Simple Shopping Cart to get PaylPal functionality at least while I’m not able to get eStore working. There were some errors during installation.
Can you please have a look, may be it can give an idea about eStore, may be it relates to its activation somehow (even it does not show that error):
Thank you heaps!
NatalieMay 12, 2012 at 9:03 am #20196
I sent you an email to organize access to the site so I can check it out.May 13, 2012 at 2:22 am #20197
Hi admin, thank you so much! I appreciate your assistance.
Just to let wzp know,
Yesterday I contacted my hosting provider so they can check if it’s something on the server side. They’ve done some magic and now it’s fixed.
Both eStore and Simple Shipping Cart activated.
Looks like it was something with the server configuration.
Thank you both and your team for caring! I highly appreciate this.
- You must be logged in to reply to this topic.