My First Drupal 7 Site - CSS Injector

8 replies [Last post]
stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03

Ok so I have tried this multiple times ( I installed back up and migrate and have been saving after every chapter ) but whenever I get to the CSS Injector module part something goes wrong. Currently I tried it once and it started throwing all kinds of errors along the lines of - Notice: Undefined index: rule_themes in css_injector_init() (line 53 of C:\bam\mfd7\sites\all\modules\css_injector\css_injector.module) - So I restored my back up from the end of chapter 12 (before css injector was ever installed) and then rewatched the videos making sure I hadn't missed anything and followed the examples very carefully, and lo and behold when I try to install CSS Injector it is already installed and I gave it permission to rewrite the file, which it did, but then when I tried to enable it through Drush as I had downloaded it that way, it totally freaked out and now it says that CSS Injector is installed and enabled, but I can't actually get to any of the CSS Injector menus or functions, like if I look in development under configuration CSS Injector just isn't there. So now I am gonna have to go back two chapters and see if that fixes it but I know I am gonna just run into the same problem since this was my third attempt and always the same result (not working) so any ideas before I work myself back to that lesson as to what could be going wrong? Thanks in advance.

Clay

stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03
Add on to thread

When I use back up and migrate to go back to chapter 11 css injector is still in the modules listing, so I guess if you make a backup with the back up and migrate module, it doesn't go so far as to remove previously installed modules, I am gonna try deleting the folder from my file structure altogether and then try from the beginning of chapter 12 again.

stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03
another add on to the thread

So I tried what I said I would, deleting the whole css_injector module, and it installs fine but then when I try and enable it it throws a ton of warnings because it is already in the database. Why doesn't backup and migrate remove it from the database when I roll back to an earlier one before it was ever installed. Please tell me I don't have to start the series over again that already happened to me once because I didn't save back ups and when I got to this part everything got all messed up and broken. Now I am basically in the same boat even though I made back ups, what gives? Please please help! Thank you.

stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03
This sucks

I do not want to have to redo the first 70% of the simplest video series, I will die of boredom as this will be my third time. Does anyone know what .ini or .info or tpl.php file is refusing to uninstall css injector and leaving it in this weird limbo where it exists but I can't use it? Any help would be so great thanks.

Chris Shattuck
Offline
Last seen: 5 days 13 hours ago
Joined: 2009-08-16
Hi Clay, I'm wondering if the

Hi Clay,

I'm wondering if the version of CSS Injector you're using is not the same as the one that were used in the videos and that are backed up with the included Backup and Migrate backups. If you use the modules in the resource pack, you'll know for sure that you're using an identical version.

Let me know if that helps!
Chris

stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03
Thanks but...

Hey Chris thanks so much for getting back to me, I'm talking about the my first Drupal 7 Site series (MFD7) , it's a little basic for my tastes at parts but I wanted to be sure I had all the basics down pat. The modules and the pre-made back-ups are all intended for the advanced site building course which I will just do if I can't fix whats wrong in the first series. But in the MFD7 course there are no pre-made backups so even if I was to use the module provided in the advanced resource pack, I would still have to start all over again as currently css_injector is installed somewhere in the database even though I have tried all the usual steps, disabling it uninstalling it and reinstalling, I have tried both the new version and the version which I can see Chris installing on the screen in the video and neither of them worked as expected. But what do I do know because I can't do anything, I cant uninstall it, I can't reinstall it, I cant enable it and I sure can't get the desired results at all. So let me know on how to get rid of a stubborn module that wont go away and then I can try again, being sure that I use the modules provided.

stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03
Side Note

I just went and checked and the module in question is not included in the resource pack anyway.

stockford229
Offline
Last seen: 4 years 47 weeks ago
Joined: 2013-12-03
Ok I give up

So I thought I had a bright idea and I installed a brand new instance of Drupal, all fresh and clean, and then restored from my back up after chapter twelve and now I can't get any site at all it just gives me an error message and has a totally white screen. I think I've really f***** it up now.. On to the advanced site building i guess I don't know what else to do.

danperez
Offline
Last seen: 5 years 12 weeks ago
Joined: 2014-01-31
i have the exact same issue.

EDIT: nevermind, i got it to work! (and although it's irrelevant now, Injector is indeed impossible to uninstall!)

Add to playlist

Add to , or

Add to new playlist:

Add to playlist
This is a member-only feature
But, it's easy to become a member

Add to cart:


Loading...
Contact us

Below are the supported keyboard shortcuts for our video player.

space
Start / stop video
shift
Go to next video
shift
Go to previous video
Increase or decrease player speed by 20%
Skip ahead or go back by 15 seconds
1...9
Jump to a percentage (2 is 20%, for example)
f
Toggle full screen
Videos Pricing More Search
BuildAModule Logo Icon BuildAModule Logo Icon
Become a member!
$29
1 month
$156
6 months
10% off
$276
12 months
20% off
All memberships come with the following:
24 / 7 access to the entire 1800+ video library
An innovative video player with a rolling transcript
Extensive Drupal and cross-platform training
A thorough and thoughtful training style
Progress tracking
Take notes on specific video sections
Intuitive multi-user management
How many users?
user
Go solo with a single user, or give multiple team members access through one account and get discounts by bundling multiple users into a single membership.