Environment:

goDaddy economy shared hosting
Drupal 5.3,
PHP 4.3.11: './configure' '--with-cgi' '--enable-fastcgi' '--with-config-file-path=/web/conf' '--with-gd' '--with-xml' '--with-gettext' '--with-zlib-dir=/usr/src/zlib' '--disable-posix' '--with-jpeg-dir=../jpeg-6b' '--enable-gd-native-ttf' '--enable-ftp' '--with-freetype-dir=/usr' '--with-freetype' '--with-sybase=/usr/src/freetds' '--with-curl=/usr/bin/curl' '--with-dom' '--enable-calendar' '--enable-soap' '--enable-bcmath' '--with-zip' '--with-openssl' '--with-mcrypt' '--with-mysql=/usr/local/mysql-5.0'

MySQL 5.0.45 (NOT on localhost).
sinpletest library: 1.0.1beta2

NO PATCHES APPLIED.

I installed simpletest and ran the full battery just for the heck of it (and to find out what might be wrong with shared goDaddy hosting).

Ran into some errors (and possibly a bug) in 5.x-1.0, so I tried 5.x-1.x-dev
Got the same errors, so I proceeded to try HEAD version (Last updated: September 23, 2007 - 12:06).

Now it is getting truly strange. The module IS enabled, I am logged in as admin (account #1), yet Simpletest does not appear anywhere in the menus and admin/simpletest gives me "Page not found".

Something must have changed rather dramatically.

I tried disabling all modules but the core+Taxonomy+Upload+Path+Menu+Help+Comment. Same result (the module is effectively inactive.)

I can dig some more information, just let me know what is pertinent.

In case it matters: the site requires basic authentication, and it worked fine for Simpletest up to 5.x-1.x-dev

The tests used to fail for XML-RPC (all but the very first one), and a couple for users. There is also an apparent bug when testing image support, but I should probably report it once we figure out what is going on with the module itself.

Standing by...

A>

Comments

Rok Žlender’s picture

Few steps you can take to make things right or rule out some:
- go to admin/user/access and give authenticated users administer unit tests permissions I know you are user 1 but just to be on the safe side
- try to access admin/settings/simpletest
- try to access admin/build/simpletest

Please report what happened.

andrabr’s picture

Followed your instructions (and then some)

1) disabled all third party modules except Core and a few Core Optional ones
2) gave my SysOp user the permission to administer tests If I go to admin/by-module there is a Simpletest entry but the only sub-link is "configure permissions"
3) tried to access admin/settings/simpletest - ended up staring at admin/settings
4) tried going to admin/build/simpletest and got to what looks like admin/build only without all the links, just the lonely words "site building".

Again, this problem did not exist in the dev version. Could replacing dev with HEAD have messed things up? [ I have checked - there does not seem to be any "duplicate" files with, say, subtle name differences.]

~Andrey

Rok Žlender’s picture

Ok now that you mentioned it again I see where the problem is. You are running Drupal 5 and using simpletest for Drupal 6 (HEAD) that would explain all that you are mentioning. Go back to simpletest version 5.x-1.x-dev and run the tests and report what errors you are getting now.

andrabr’s picture

Status: Active » Closed (works as designed)

My bad - was not aware of the true meaning of "HEAD".

Rolled back to 5.x-1.0.

Will be reporting its issues separately (starting here: http://drupal.org/node/196204 )

This issue is CLOSED - by design.