Downloaded and installed AT commerce theme yesterday. Today i enabled and made it default and the results were very undesirable.
" Fatal error: Call to undefined function at_get_setting() in C:\xampp\htdocs\drupal\sites\all\themes\at-commerce\template.php on line 342 "

This error is all over the place each time i point browser to my base browser.

CommentFileSizeAuthor
#2 at-commerce-error.jpg67.69 KBAndri_Lindbergs

Comments

Jeff Burnz’s picture

Project: AT Panels Everywhere » AT Commerce
Version: 7.x-1.x-dev » 7.x-3.x-dev
Component: Plugins » Documentation
Assigned: asiboh » Unassigned
Category: task » support
Priority: Critical » Normal
Status: Active » Closed (works as designed)

You need to install the base theme, please read the documentation before posting issues.

Andri_Lindbergs’s picture

StatusFileSize
new67.69 KB

I find this to be a particularly arrogant reply.
Most themes do not require you to read a documentation before you test them, so I didn't expect I needed it in this case.
There is no way for me to go back and restore the previous theme without SQL hack skills.
The fact that I get this error a massive usability blunder for the developer and a disfavor to anyone checking out your theme.

Jeff Burnz’s picture

1) Drupal 7 has no install status for themes and no clean and useful way to create a dependancy like modules can, despite this being an open issue against Drupal core for the past 3 or more years. Much effort has been made by nearly all base theme developers to work around this, however beacuse of how Drupal bootstraps and treats themes its for practical terms impossible, not until Drupal core treats themes like modules and gives them a proper installation status and process (including uninstall, right now you can't really uninstall a theme).

2) If you choose not to read the docs bad shit is going to happen, it just will, you can't hope to get away with such things. Many themes are extremely complex these days and while you got caught out please do not stoop to insults and rants because something went wrong for you. Its not fair on anyone and detracts from what is very useful and good software. Yeah Drupal has its downsides but it has a lot of up also.

Be cool man, chill out OK. Community is everything, we don't need insults and slanging matches. Bascially dude, if you are going to call yourself a Drupal developer then how about acting like one, no serious dev would resort to such rants, we help, guide, advise and ultimately move the project forward. Be positive, not a downer on my day.

ricksta’s picture

I appreciate the work you've put in to these themes, but in a way the other guy may have a point. I've just spent about 45 minutes reading the AT docs and also about subtheming AT. I'm not new to Drupal or AT. I've never used the AT commerce until now, and when I went to install the Foo Theme as a subtheme, I got this error:

Notice: Undefined property: stdClass::$prefix in system_theme_settings() (line 547 of /Applications/MAMP/htdocs/modules/system/system.admin.inc).
Notice: Undefined index: corolla in system_theme_settings() (line 575 of /Applications/MAMP/htdocs/modules/system/system.admin.inc).
Notice: Trying to get property of non-object in system_theme_settings() (line 575 of /Applications/MAMP/htdocs/modules/system/system.admin.inc).

I have no idea what to do about it, not being a backend php guy. I've gone over the instructions pretty well. Can't figure out what I did wrong. I used all 7.x-2.x versions because it said this on the AT Commerce page: " you must install Adaptivetheme 7.x-2.x to run this theme." Father down the page it said this: Always match version for version with the base theme:

Adaptivetheme 7.x-3.x => use AT Commerce 7.x-3.x
Adaptivetheme 7.x-2.x => use AT Commerce 7.x-2.x

AT installed first, AT Commerce second, and Foo last. All went well until I installed Foo, then I got the errors.

I'll just uninstall Foo, I guess. If someone could give me a little help on this, I'd greatly appreciate it.
Thanks.

loft13’s picture

I too would like to thank everyone in the community for the amazing work being done, particularly with the AdaptiveTheme.

ricksta - I have the same problem that you described. I was wondering if you had any success in resolving it.

Following the instructions, I made a copy of footheme to sub-theme AT Commerce (new theme name "redtheme"). I get the errors you describe when I go to settings for the theme. When I enable the original footheme and go to settings - same errors.

Likewise - any assistance or insights from someone would be greatly appreciated.

Thanks.

loft13’s picture

Hi,

I believe I solved the problem.

In footheme.info you have to specify base theme as "at_commerce" (with underscore) and not "at-commerce" (which is the theme directory name).

;----------// Base theme

; Change the "base theme" if you are using a different base,
; e.g. "pixture_reloaded" or "sky" (without speechmarks).

; base theme = at-commerce <- INCORRECT
base theme = at_commerce

Hope that helps.