[Plugin: eShop] eShop plugin not working
-
Page http://www.jericha.sk is not working after a new wordpress 2.7 installation and activating eShop plugin. On the other hosting it is working. Are there any special requirements on hosting for WordPress with eShop plugin?
-
well I’d be prepared to do it myself – but I’d need access to WordPress, FTP and possibly phpmyadmin as well…
Hey,
I’m experiencing a similar issue here.
On our initial server running FreeBSD, WordPress 2.7, we had eshop up and running fine, no problems.
Just recently we migrated to a new host, a VPS, so the memory constraints were a little tighter.
Trying the old database and code I was getting a blank front page. Disabling plugins one by one I discovered eshop was the culprit. Enabling it results in a blank front page.
Trying with a fresh WordPress 2.7.1 install, with the latest eshop release (3.0), I get the same thing.
Nothing in PHP error logs, just messages like this in my apache error log:
kernel: pid 1632 (httpd), uid 80: exited on signal 4
It seems trying to access the site with eshop enabled, the apache child handling the request crashes. The admin area still works fine.
We tested on a seperate server with more memory, to rule that out. Same issue occurred.
Another note, once enabling eshop, it says we have to deactivate then reactivate it to complete the setup. On trying to reactivate it, the plugins.php file pops up as a download, instead of executing.
What I’m thinking is maybe I’ve missed some PHP module that eshop needs in order to function.
All I have it compiled with at this point is mysql and libxml2. Everything else is stock.
Any suggestions for what to try?
Another note, once enabling eshop, it says we have to deactivate then reactivate it to complete the setup.
I’ll look into that one for the next release – should be easy to solve.
Well the comments above seem to suggest a possible problem in cart-functions.php – so that would need testing by removing things until the culprit is found. As I can’t replicate this problem anywhere I am unable to help further without access.
Just did a binary search in the cart-functions.php trying to narrow down what was causing the error.
I’ve tracked it down to the line around 960 that starts with
if (!function_exists(‘eshop_files_directory’)) {If I comment out this if block, the page renders again.
I’ll look into it further and let you know what I find.
In that block I pointed out, in cart-functions.php, it tries to do a wp_mkdir_p($upload_dir). $upload_dir is coming from $dirs[‘basedir’], but the only thing the $dirs array contains is the below:
Array ( [error] => Unable to create directory /usr/local/apache22/htdocs/wordpress/wp-content/uploads/2009/02. Is its parent directory writable by the server? )
This was a brand new WordPress installation, and the uploads directory was not yet created.
poot – I’d hoped never to see that error ever again.
I’ll try and read in a check for the existence of the relevant directories. If you manually create:
wp-content/eshop_downloads and wp-content/uploads/eshop_files
and then copy the files from plugins/eshop/downloads and plugins/eshop/files into those directories does the error still appear?Rich,
I just gave your plugin a shot and ran into the same problem ->
[Fri May 01 16:07:46 2009] [notice] child pid 9773 exit signal Segmentation fault (11)
My setup:
Server version: Apache/2.2.11 (Unix)
Server built: Apr 28 2009 08:08:59PHP 5.2.9 (cli) (built: Apr 28 2009 08:25:38)
WordPress is 2.7.1
The segfault happens after re-activating the plugin. I have been playing around with different PHP 5 versions (5.2.8 and 5.3 RC1). The segfault does occur no matter which version is in use.
HELP! π
tallbiker66
wish I could, but as I said in a previous reply without access to a server (WP and FTP) I can’t. it isn’t an error I’m familiar with at all and would need to do a lot of testing to try and find out what is causing it.
You probably don’t have time to set up a WordPress 2.7.1, Apache 2.2.11, PHP 5.2.9 installation to reproduce the issue, right? That’s unfortunate, but I won’t be able to offer you access to the server.
Anyway, I hope you’ll find a solution soon.
Thanks.
tallbiker66I don’t play with servers π
So no i wouldn’t be able to set anything up to match, sorry.
The topic ‘[Plugin: eShop] eShop plugin not working’ is closed to new replies.