Drupal site trouble
I have a problem and I hope I can explain it well. I am using drupal-6.12 on a windows/apache/php/mysql environment. Somehow I loaded drupal-6.13 into the sites/all/modules folder. Some of the links in the 'filename' field of the 'systems' table that should point to the modules folder point to the sites/all/modules/drupal-6.13/modules. The same thing happens on 'file' field of the 'menu_router' table. Using phpmyadmin I changed the field 'file' on the 'menu_router' table by removing the 'sites/all/modules/drupal-6.13/' I did the same thing on the field 'filename' on the 'systems' table I also removed the drupla-6.13 folder from sites/all/modules I get an error: Fatal error: Cannot redeclare system_main_admin_page() (previously declared in D:\Inetpub\wwwroot\root\nestor\xscroller\modules\system\system.admin.inc:12) in D:\Inetpub\wwwroot\root\nestor\xscroller\sites\all\modules\drupal-6.13\modules\system\system.admin.inc on line 60 I went ahead and put the drupal-6.13 back on the sites/all/modules folder and my site works again. When I look at the 'file' field from the 'menu_router' table and the 'filename' from the 'systems' I have also done a mysqldump and remove all of the cases where path point to sites/all/modules/drupal-6.13 and changed it to the modules folder but somehow when I read the SQL file back into the database it adds the site/all/modules/drupal-6.13 again. It seems that this happens to all of the modules in the drupal/modules folder How can I get rid of the drupal-6.13 folder from the sites/all/modules folder and still have the site work? Thanks, Néstor :-)
Anybody? I do not know how to solve this problem. Thanks, Nestor :-) On Thu, Jan 7, 2010 at 10:01 AM, Néstor <rotsen@gmail.com> wrote:
I have a problem and I hope I can explain it well.
I am using drupal-6.12 on a windows/apache/php/mysql environment.
Somehow I loaded drupal-6.13 into the sites/all/modules folder.
Some of the links in the 'filename' field of the 'systems' table that
should point to the modules folder point to the
sites/all/modules/drupal-6.13/modules. The same thing happens on
'file' field of the 'menu_router' table.
Using phpmyadmin I changed the field 'file' on the 'menu_router' table
by removing the 'sites/all/modules/drupal-6.13/'
I did the same thing on the field 'filename' on the 'systems' table
I also removed the drupla-6.13 folder from sites/all/modules
I get an error:
Fatal error: Cannot redeclare system_main_admin_page() (previously declared in D:\Inetpub\wwwroot\root\nestor\xscroller\modules\system\system.admin.inc:12) in D:\Inetpub\wwwroot\root\nestor\xscroller\sites\all\modules\drupal-6.13\modules\system\system.admin.inc on line 60
I went ahead and put the drupal-6.13 back on the sites/all/modules folder and
my site works again. When I look at the 'file' field from the 'menu_router' table and the 'filename' from the 'systems'
I have also done a mysqldump and remove all of the cases where path point to sites/all/modules/drupal-6.13
and changed it to the modules folder but somehow when I read the SQL file back into the database it adds
the site/all/modules/drupal-6.13 again. It seems that this happens to all of the modules in the drupal/modules
folder
How can I get rid of the drupal-6.13 folder from the sites/all/modules folder and still have the site work?
Thanks,
Néstor :-)
I have done this and when I read the sql back into the database table it automatically adds sites/all/modules/drupal-6.13 again. Thanks, :-) On Mon, Jan 11, 2010 at 11:48 AM, Fred Jones <fredthejonester@gmail.com>wrote:
Anybody? I do not know how to solve this problem.
Try to fix every occurrence of sites/all/modules/drupal-6.13/modules in the system table.
HTH -- [ Drupal support list | http://lists.drupal.org/ ]
What has often worked for me is to go to the module admin page and hit save after removing the drupal-6.13 folder in its entirety. I'd make backups if folder and db before doing any of this of course. Dave ________________________________ From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Néstor Sent: Monday, January 11, 2010 11:37 AM To: support@drupal.org Subject: Re: [support] Drupal site trouble Anybody? I do not know how to solve this problem. Thanks, Nestor :-) On Thu, Jan 7, 2010 at 10:01 AM, Néstor <rotsen@gmail.com> wrote: I have a problem and I hope I can explain it well. I am using drupal-6.12 on a windows/apache/php/mysql environment. Somehow I loaded drupal-6.13 into the sites/all/modules folder. Some of the links in the 'filename' field of the 'systems' table that should point to the modules folder point to the sites/all/modules/drupal-6.13/modules. The same thing happens on 'file' field of the 'menu_router' table. Using phpmyadmin I changed the field 'file' on the 'menu_router' table by removing the 'sites/all/modules/drupal-6.13/' I did the same thing on the field 'filename' on the 'systems' table I also removed the drupla-6.13 folder from sites/all/modules I get an error: Fatal error: Cannot redeclare system_main_admin_page() (previously declared in D:\Inetpub\wwwroot\root\nestor\xscroller\modules\system\system.admin.inc:12) in D:\Inetpub\wwwroot\root\nestor\xscroller\sites\all\modules\drupal-6.13\modules\system\system.admin.inc on line 60 I went ahead and put the drupal-6.13 back on the sites/all/modules folder and my site works again. When I look at the 'file' field from the 'menu_router' table and the 'filename' from the 'systems' I have also done a mysqldump and remove all of the cases where path point to sites/all/modules/drupal-6.13 and changed it to the modules folder but somehow when I read the SQL file back into the database it adds the site/all/modules/drupal-6.13 again. It seems that this happens to all of the modules in the drupal/modules folder How can I get rid of the drupal-6.13 folder from the sites/all/modules folder and still have the site work? Thanks, Néstor :-)
OK, I try what you suggested but I get an error when I clicked on the 'Save Configuration' button. But I got it to work by doing the following steps: 1) The first thing I did was to clear the cache and check it via phpmyadmin to make sure that there were no drupal-6.13 reference on it. 2) Next, I did was to access the menu_router table via phpmyadmin and removed 'sites/all/modules/drupal-6.13' from the field file from all records on this table. 3) Next, I did the same thing for the filename field on system table. 4) Next, I deleted the drupal-613 folder from the sites/all/modules 5) I then click on 'Save Configuration' on the modules page. After these stpes I did a mysqldump and I found 'sites/all/modules/drupal-6.13' on the watchdog table but when I take a look at the watchdog table via phpmyadmin there are no references to the 'sites/all/modules/drupal-6.13' I think this finally worked. Thanks, Nestor :-) On Mon, Jan 11, 2010 at 12:29 PM, Metzler, David <metzlerd@evergreen.edu>wrote:
What has often worked for me is to go to the module admin page and hit save after removing the drupal-6.13 folder in its entirety. I'd make backups if folder and db before doing any of this of course.
Dave
------------------------------ *From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Néstor *Sent:* Monday, January 11, 2010 11:37 AM *To:* support@drupal.org *Subject:* Re: [support] Drupal site trouble
Anybody? I do not know how to solve this problem.
Thanks,
Nestor :-)
On Thu, Jan 7, 2010 at 10:01 AM, Néstor <rotsen@gmail.com> wrote:
I have a problem and I hope I can explain it well.
I am using drupal-6.12 on a windows/apache/php/mysql environment.
Somehow I loaded drupal-6.13 into the sites/all/modules folder.
Some of the links in the 'filename' field of the 'systems' table that
should point to the modules folder point to the
sites/all/modules/drupal-6.13/modules. The same thing happens on
'file' field of the 'menu_router' table.
Using phpmyadmin I changed the field 'file' on the 'menu_router' table
by removing the 'sites/all/modules/drupal-6.13/'
I did the same thing on the field 'filename' on the 'systems' table
I also removed the drupla-6.13 folder from sites/all/modules
I get an error:
Fatal error: Cannot redeclare system_main_admin_page() (previously declared in D:\Inetpub\wwwroot\root\nestor\xscroller\modules\system\system.admin.inc:12) in D:\Inetpub\wwwroot\root\nestor\xscroller\sites\all\modules\drupal-6.13\modules\system\system.admin.inc on line 60
I went ahead and put the drupal-6.13 back on the sites/all/modules folder and
my site works again. When I look at the 'file' field from the 'menu_router' table and the 'filename' from the 'systems'
I have also done a mysqldump and remove all of the cases where path point to sites/all/modules/drupal-6.13
and changed it to the modules folder but somehow when I read the SQL file back into the database it adds
the site/all/modules/drupal-6.13 again. It seems that this happens to all of the modules in the drupal/modules
folder
How can I get rid of the drupal-6.13 folder from the sites/all/modules folder and still have the site work?
Thanks,
Néstor :-)
-- [ Drupal support list | http://lists.drupal.org/ ]
I was wrong it did not work. I only find the 'site/all/modules/drupal-6.13' path on the 'filename' field fo the 'system' table and when I clear it and them I do a 'Save Configuration' from the modules pages, the 'filename' field is rewritten to include the 'sites/all/modulesdrupal-6.13' in th epath of the default modules ....arghhhhhh something somewhere rewites the path on the field 'filename' of the system table Nestor :-) On Tue, Jan 12, 2010 at 2:53 PM, Néstor <rotsen@gmail.com> wrote:
OK, I try what you suggested but I get an error when I clicked on the 'Save Configuration' button.
But I got it to work by doing the following steps:
1) The first thing I did was to clear the cache and check it via phpmyadmin to make sure that there were no drupal-6.13 reference on it.
2) Next, I did was to access the menu_router table via phpmyadmin and removed 'sites/all/modules/drupal-6.13' from the field file from all records on this table.
3) Next, I did the same thing for the filename field on system table.
4) Next, I deleted the drupal-613 folder from the sites/all/modules
5) I then click on 'Save Configuration' on the modules page.
After these stpes I did a mysqldump and I found 'sites/all/modules/drupal-6.13' on the watchdog table but when I take a look at the watchdog table via phpmyadmin there are no references to the 'sites/all/modules/drupal-6.13'
I think this finally worked.
Thanks,
Nestor :-)
On Mon, Jan 11, 2010 at 12:29 PM, Metzler, David <metzlerd@evergreen.edu>wrote:
What has often worked for me is to go to the module admin page and hit save after removing the drupal-6.13 folder in its entirety. I'd make backups if folder and db before doing any of this of course.
Dave
------------------------------ *From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On Behalf Of *Néstor *Sent:* Monday, January 11, 2010 11:37 AM *To:* support@drupal.org *Subject:* Re: [support] Drupal site trouble
Anybody? I do not know how to solve this problem.
Thanks,
Nestor :-)
On Thu, Jan 7, 2010 at 10:01 AM, Néstor <rotsen@gmail.com> wrote:
I have a problem and I hope I can explain it well.
I am using drupal-6.12 on a windows/apache/php/mysql environment.
Somehow I loaded drupal-6.13 into the sites/all/modules folder.
Some of the links in the 'filename' field of the 'systems' table that
should point to the modules folder point to the
sites/all/modules/drupal-6.13/modules. The same thing happens on
'file' field of the 'menu_router' table.
Using phpmyadmin I changed the field 'file' on the 'menu_router' table
by removing the 'sites/all/modules/drupal-6.13/'
I did the same thing on the field 'filename' on the 'systems' table
I also removed the drupla-6.13 folder from sites/all/modules
I get an error:
Fatal error: Cannot redeclare system_main_admin_page() (previously declared in D:\Inetpub\wwwroot\root\nestor\xscroller\modules\system\system.admin.inc:12) in D:\Inetpub\wwwroot\root\nestor\xscroller\sites\all\modules\drupal-6.13\modules\system\system.admin.inc on line 60
I went ahead and put the drupal-6.13 back on the sites/all/modules folder and
my site works again. When I look at the 'file' field from the 'menu_router' table and the 'filename' from the 'systems'
I have also done a mysqldump and remove all of the cases where path point to sites/all/modules/drupal-6.13
and changed it to the modules folder but somehow when I read the SQL file back into the database it adds
the site/all/modules/drupal-6.13 again. It seems that this happens to all of the modules in the drupal/modules
folder
How can I get rid of the drupal-6.13 folder from the sites/all/modules folder and still have the site work?
Thanks,
Néstor :-)
-- [ Drupal support list | http://lists.drupal.org/ ]
participants (3)
-
Fred Jones -
Metzler, David -
Néstor