major errors in new site ... what do I do now - Learning drupal but not a real techie

Miccal - April 1, 2009 - 13:47

OK, so I had everything running but images using scribd for documents... thinks were looking good, as I am waiting for drupal books to come in so I can do more... I'm getting hooked.

Then out of the blue, I really have no Idea what happened. The theme I am using when haywire...

in chrome I get this message -

Fatal error: Call to undefined function wordlimit() in /home/southvi1/public_html/themes/acquia_slate/block.tpl.php on line 18

in Firefox and ie I get -

•warning: include_once(./) [function.include-once]: failed to open stream: No such file or directory in /home/southvi1/public_html/includes/theme.inc on line 155.
•warning: include_once() [function.include]: Failed opening './' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/southvi1/public_html/includes/theme.inc on line 155.
•warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /home/southvi1/public_html/includes/theme.inc on line 617.
•warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /home/southvi1/public_html/includes/theme.inc on line 617.
•warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /home/southvi1/public_html/includes/theme.inc on line 617.
•warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_username' was given in /home/southvi1/public_html/includes/theme.inc on line 617.

I can not log in to administer the site - I have attempted to dissable modules through sql and phpmyadmin to no avail. I noticed while there that I could change the status of the themes as well -tried that and nothing changes.

please help - to view the site please go to www-southview-design.com

Thank you,
Miccal

I had this error as well

bradklaver - June 6, 2009 - 19:27

I have this same problem. Drupal 6. I re-downloaded Aquia Slate, reuploaded the fresh copy. wordlimit() is CLEARLY in template.php... How do you fix these kind of complete breaks, I have no idea how to salvage anything.

Hmmm

bradklaver - June 6, 2009 - 19:30

Ok I got some semblance of function back by replacing the call to wordlimit with a string.... Awful I know, but we'll see if I can eff with the settings and get the site back and rocking.

Booooyah!

bradklaver - June 6, 2009 - 19:45

Hahah, Ok, when I did that, another theme started complaining about everything. I think it was a result of creating a faulty subtheme, in addition with the Switchtheme module. I turned off devel, administration dropdown menu, switchtheme modules, disabled the 8 themes I had enabled (I want this site to showcase different layouts.) Now Garland is the default and only one configured. I'm going to see if I can download fresh files for my modules and themes..... If anyone cares, I will keep you posted!

 
 

Drupal is a registered trademark of Dries Buytaert.