Hello there,

I am fairly new to drupal, and I was following a tutorial on customizing themes. I have my remote server conntected, and I am able to add/change/delete files, but nothing seems to be working. I am still getting the WSOD.

I have tried replacing my enabled theme to an already working theme such as Bartik or Garland. I have tried changing my settings.php, but that doesn't seem to work. I have tried using drush, but get error issues:

kari:GardenExpo-site Stetson$ drush cache-rebuild
Command cache-rebuild requires Drupal core version 8+ to run.        [error]
The drush command 'cache-rebuild' could not be executed.             [error]
Drush was not able to start (bootstrap) the Drupal database.         [error]
Hint: This may occur when Drush is trying to:
 * bootstrap a site that has not been installed or does not have a
configured database. In this case you can select another site with a
working database setup by specifying the URI to use with the --uri
parameter on the command line. See `drush topic docs-aliases` for
details.
 * connect the database through a socket. The socket file may be
wrong or the php-cli may have no access to it in a jailed shell. See
http://drupal.org/node/1428638 for details.

Drush was attempting to connect to: 
 Drupal version         :  7.50                                     
 Site URI               :  http://default                           
 Database driver        :  mysql                                    
 Database hostname      :  localhost                                
 Database port          :                                           
 Database username      :  wigarden_drup417                         
 Database name          :  wigarden_drup417                         
 PHP configuration      :                                           
 PHP OS                 :  Darwin                                   
 Drush script           :  /usr/local/bin/drush                     
 Drush version          :  8.1.3                                    
 Drush temp directory   :  /tmp                                     
 Drush configuration    :                                           
 Drush alias files      :                                           
 Drupal root            :  /Users/Stetson/Documents/GardenExpo-site 
 Drupal Settings File   :  sites/default/settings.php               
 Site path              :  sites/default     

I have also tried logging into the SQL server, but it says my user is denied permission for some reason, and don't know how to change that.

Any help would be greatly appreciated! I am out of options. :(

Thank you!

Comments

VM’s picture

altering settings.php didn't work = did you make sure the file was saved as expected? note: settings.php is a protected file, you must change permissions on the folder it is contained in as well as the file itself before editing.

Have you tried getting an error to print to the screen w/ https://www.drupal.org/node/158043 ?

Have you checked your apache and php error logs?

have you emptied your cache tables in the database?

Changing your database user is done via the database tools priovided by your host or your software stack is installed locally. Most often the script to use is phpmyadmin.

arelym’s picture

So I changed the file permissions, the theme did change, and the website shows up, but the admin interface does not work. Any time I try to click on Structure, Config, Appearance, etc. I get white pages.

These errors also appear on the home page:

Notice: Undefined index: devel_function_preprocess_intercept in devel_themer_theme_twin() (line 410 of /home/wigarden/public_html/sites/all/modules/devel_themer/devel_themer.module).
Notice: Undefined index: devel_function_process_intercept in devel_themer_theme_twin() (line 411 of /home/wigarden/public_html/sites/all/modules/devel_themer/devel_themer.module).
Notice: Undefined index: type in devel_themer_theme_twin() (line 480 of /home/wigarden/public_html/sites/all/modules/devel_themer/devel_themer.module).
Notice: Undefined index: template in devel_themer_theme_twin() (line 508 of /home/wigarden/public_html/sites/all/modules/devel_themer/devel_themer.module).
Notice: Undefined variable: suggestions in devel_themer_theme_twin() (line 515 of /home/wigarden/public_html/sites/all/modules/devel_themer/devel_themer.module).
Warning: include(/home/wigarden/public_html/.tpl.php): failed to open stream: No such file or directory in theme_render_template() (line 1525 of /home/wigarden/public_html/includes/theme.inc).
Warning: include(): Failed opening '/home/wigarden/public_html/.tpl.php' for inclusion (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in theme_render_template() (line 1525 of /home/wigarden/public_html/includes/theme.inc).

VM’s picture

disable the devel themer and devel module. If you don't have access to do this via the admin ui, you will need to manually set the status of the module to 0 in the database. IIRC system table.

arelym’s picture

I'm having trouble trying to access the database. It said permission denied, so I'm trying to figure that out also.