Drupal newb, LAMP expert here. Don't tone it down too much for me. I have drupal running, have installed new themes, and new modules, and so far we're all good, but I'm having trouble installing the ecommerce module(s).

First, a little bitch: I read the installation instructions. I uploaded the ENTIRE ecommerce directory, as it says to do, and my Administration > Modules node crashes. I just get a blank white page. I looked in the ecommerce directory, and there is no script in there of any kind, just three text information files. Obviously, Drupal cannot install that directory. When it looks for something to do, the module stares back with a dumb expression on it's face.

Since the instructions do mention it's a collection of modules, I thought I'd try uploading the entire contents of the ecommerce directory. Same blank stare from the admin module node.

I tried uploading the individual subdirectories one at a time, and that seemed to do it, but then some of them, docs, contrib, etc, give back the old blank node. I figured out that some of the directories don't contain modules directly, so I tried again without those. Still some break. Notably the 'store' sub-directory doesn't work. I understand this is kind of crucial.

NOTE: This is on my own LAMP test box, so I have complete control, and no actual Web site suffers. I also use phpmyadmin as it's easier to rummage round the DB's that way, but I have no probs administering MySQL manually either.

NOTE: I have manually changed ownership, and permissions on the whole diretory structure to comply with the default Apache user on Debina, www-data. I had to do this to Joomla just to get it run. Drupal actually ran out of the box, as Joomla should have.

My Guess: There's a couple of scripts missing from the ecommerce 4.7.2 tarball. I'll check a previous version, just to be sure.

Any help is appreciated.

Comments

cbarnett’s picture

...and there does seem to be a script missing. Looks like the published link is to a bad tarball, or the installation instructions are bad - I know they're a bit wonky ;-/

heine’s picture

Can you check the error log? That will allow you to see whether the white screen of death is caused by an ecommerce fatal error or a memory fatal error.

--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.

cbarnett’s picture

Here's where the newb part kicks in: Which logs should I look at? As you can imagine, a testing box runs a few :D

heine’s picture

I'd check the apache error.log and administer » logs (admin/logs).

--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.

cbarnett’s picture

Ok... In the Apache error log I'm seeing this line a bunch of times:

Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes)

I see no administer > watchdog on my menus. I checked the modules, and watchdog shows as required

Ok... I checked the admin > logs, and get a lovely, coloured table in reverse chron order. I see no reference to any of the ecommerce modules, or any message I can't identify.

I definitely think the install script is missing from the ecommerce tarball.

BTW - What do you believe generated the memory error?

heine’s picture

Your php memory limit is to low for drupal + ecommerce. Follow any of the fixes in http://drupal.org/node/31819 to remedy the situation.
--
The Manual | Troubleshooting FAQ | Tips for posting | Make Backups! | Consider creating a Test site.

cbarnett’s picture

Thanks, Heine... That got it.

My bad... Right at the top of the Troubleshooting FAQ. RTFM, right ;-P

Thing is, I didn't know there was a Troubleshooting FAQ. Perhaps a 'New Users and Administrators Click Here' on the front page would have been nice. I went straight to the forums, after looking at the docs. Looks like I read six of the online handbooks, before I resorted to posting.

But, hey! Good job fixing me up. Thanks from Toronto.

Carey