Oops. Stumbling on another error. seems I should have uninstalled the media module instead of only manually deleting it. (duh!). Now I tried to clear caches and get this error:<br><br><em class="placeholder">PDOException</em>: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'tonymacc_drp2.dr_media_type' doesn't exist: SELECT mt.*
FROM
{media_type} mt
ORDER BY weight ASC; Array
(
)
in <em class="placeholder">media_type_get_types()</em> (line <em class="placeholder">134</em> of <em class="placeholder">/home3/tonymacc/public_html/drupal/sites/all/modules/media/includes/media.types.inc</em>).<br><br>
As I interpret it the clear cache function is looking for a "media type" table and wanting to clear out the cache for it. Boy this is as much fun as IBM dumps. How can I turn off this particular select statement? SELECT mt.*
FROM
{media_type} <br><br>Thanks<br>Tony<br><br><br><div class="gmail_quote">On Mon, Sep 10, 2012 at 9:05 PM, Anthony <span dir="ltr"><<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Deleting the media module directory in sites/all/modules/ was enough. Why go complicated? Tabula rasa. <br><div class="HOEnZb">
<div class="h5"><br><div class="gmail_quote">On Mon, Sep 10, 2012 at 7:05 AM, Anthony <span dir="ltr"><<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't see a record for the media or the media_internet module. Only file-entity rec exists. Delete that? <br><div>
<div><br><div class="gmail_quote">On Mon, Sep 10, 2012 at 5:14 AM, Earnie Boyd <span dir="ltr"><<a href="mailto:earnie@users.sourceforge.net" target="_blank">earnie@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Look for the module in the systems table and remove the record.<br>
<br>
Earnie<br>
<div><div><br>
On Mon, Sep 10, 2012 at 12:14 AM, Anthony <<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>> wrote:<br>
> Sounds like media module did something in the db and then crashed or<br>
> something.<br>
><br>
> On Sun, Sep 9, 2012 at 9:13 PM, Anthony <<a href="mailto:tony@tony-mac.com" target="_blank">tony@tony-mac.com</a>> wrote:<br>
>><br>
>> On my remote site <a href="http://tony-mac.com" target="_blank">tony-mac.com</a> I tried to install media module but got an<br>
>> error when I tried to enable it (in drush) about not enough memory. So i<br>
>> deleted the single line php.ini file, whose 1 line command was saying<br>
>> increase memory to 128m, in the root of the drupal install and then went and<br>
>> changed the memory setting in php.ini file in the root of the site - dir<br>
>> above public_html. Then added 128 memory line to settings.php.<br>
>> (and as I still have not figured out how to get site aliases to work I can<br>
>> not connect and sync to local site, which I know I should have one before<br>
>> messing with the remote).<br>
>><br>
>> Still getting:<br>
>><br>
>> PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table<br>
>> &#039;to<br>
>> nymacc_drp2.dr_media_type&#039; doesn&#039;t exist: SELECT mt.*<br>
>> FROM<br>
>> {media_type} mt<br>
>> ORDER BY weight ASC; Array<br>
>> (<br>
>> )<br>
>> in media_type_get_types() (line 134 of<br>
>> /home3/tonymacc/public_html/drupal/sites<br>
>> /all/modules/media/includes/media.types.inc).<br>
>> Drush command terminated abnormally due to an unrecoverable error.<br>
>> [error]<br>
>> Drush was not able to start (bootstrap) Drupal.<br>
>> [error]<br>
>> Hint: This error can only occur once the database connection has<br>
>> already been successfully initiated, therefore this error generally<br>
>> points to a site configuration issue, and not a problem connecting to<br>
>> the database.<br>
>><br>
>> Drush was attempting to connect to :<br>
>> Drupal version : 7.14<br>
>> Site URI : <a href="http://default" target="_blank">http://default</a><br>
>> Database driver : mysql<br>
>> Database hostname : localhost<br>
>> Database username : tonymacc_drp2<br>
>> Database name : tonymacc_drp2<br>
>> Database : Connected<br>
>> Default theme : omega_html5_tony<br>
>> Administration theme: seven<br>
>> PHP configuration : /etc/php.ini<br>
>> Drush version : 5.4<br>
>> Drush configuration:<br>
>> Drupal root : /home3/tonymacc/public_html/drupal<br>
>> Site path : sites/default<br>
>> Modules path : sites/all/modules<br>
>> Themes path : sites/all/themes<br>
>> File directory path: sites/default/files<br>
>> Private file directory path:<br>
>> temp : /home3/tonymacc/public_html/drupal/tempdir<br>
>> %paths : Array<br>
>><br>
>> You can select another site with a working database setup by<br>
>> specifying the URI to use with the --uri parameter on the command<br>
>> line or $options['uri'] in your drushrc.php file.<br>
>><br>
>><br>
>> How can I get a backup restored? How can I fix? Bluehost backup has f^%&ed<br>
>> me up in the past.<br>
>> Thanks<br>
>> Tony<br>
>><br>
>> --<br>
>><br>
>> Anthony Stefan Maciejowski<br>
>><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
><br>
> Anthony Stefan Maciejowski<br>
><br>
><br>
><br>
><br>
</div></div>> --<br>
> [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<span><font color="#888888"><br>
<br>
<br>
--<br>
Earnie<br>
-- <a href="https://sites.google.com/site/earnieboyd" target="_blank">https://sites.google.com/site/earnieboyd</a><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br><br clear="all"><br></div></div><span><font color="#888888">-- <br><p><b style="font-size:13px;font-family:'Lucida Handwriting',cursive"><i>Anthony Stefan Maciejowski</i></b></p>
<p>
</p><br><p></p><br>
</font></span></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><p><b style="font-size:13px;font-family:'Lucida Handwriting',cursive"><i>Anthony Stefan Maciejowski</i></b></p>
<p>
</p><br><p></p><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><p><b style="font-family:'Lucida Handwriting',cursive;font-size:13px;background-color:rgb(255,255,255)"><i>Anthony Stefan Maciejowski</i></b></p><p>
</p><br><p></p><br>