I am getting parsing errors for every single module I try to install. Drupal was just installed previously.
They are all showing in the .info file. Any idea?
* warning: Error parsing modules/admin_menu-5.x-1.x-dev/admin_menu/_vti_cnf/admin_menu.info on line 1 in /home/leaders/public_html/blog/includes/module.inc on line 195.
* warning: Error parsing modules/aggregator/_vti_cnf/aggregator.info on line 1 in /home/leaders/public_html/blog/includes/module.inc on line 195.
* warning: Error parsing modules/admin_menu/sites/all/modules/directory/invite/_vti_cnf/invite.info on line 1 in /home/leaders/public_html/blog/includes/module.inc on line 195.
* warning: Error parsing modules/legacy/_vti_cnf/legacy.info on line 1 in /home/leaders/public_html/blog/includes/module.inc on line 195.
* warning: Error parsing modules/upload/_vti_cnf/upload.info on line 1 in /home/leaders/public_html/blog/includes/module.inc on line 195.
Thanks!
Leisa
Comments
=-=
did you edit any files with microsoft frontpage and then upload them ? or do you have frontpage extensions enabled on your webhost?
FrontPage
I do use FrontPage. I originally imported them with FrontPage, and figured that was the problem. Sure enough FrontPage had added some coding.
I opened the file in text editor and deleted the coding front page put in and corrected it to what I found it should show here in the forum. When that didn't work I just deleted the module, and then uploaded it again, but this time using a FTP client. But still go the same errors. Opening them in text editor it looks ok.
I read somewhere here that there was sometime extra lines that weren't necessary in the info file so after it didn't work I look out those lines in one of the modules and it still didn't work.
Here is what I have for the admin file:
; $Id: admin_menu.info $
name = Administration Menu
description = "Renders the administer menu tree as dropdown menu at the top of the window."
package = Administration
and for the invite.info
; $Id: invite.info,v 1.1.2.2 2007/03/06 21:59:08 smk Exp $
name = Invite description = Allows users to send GMail style invitations, and automatically escalates new users who use them to a role of your designation.
package = Mail
; Information added by drupal.org packaging script on 2007-04-01
version = "5.x-1.7"
project = "invite"
I've tried them both in the folder for modules, and the by putting them in
I read also that for 5.0 to put them sites/all/modules/directory as recommended here.
Still they don't work.
I did everything the way earlier this week (even importing with FrontPage) and then changed my mind and decided a fresh install would be easier. It worked well then and everything seemed to be working better. I wanted to move everything. So much for that idea...
Leisa
=-=
The problem is your site needs to be cleaned out. Front page added _vti_cnf in the path, and if you look through FTP you will see these folder EVERYWHERE, in every folder will be a _vti_cnf folder. they all need to be removed. at that stage, its easier to just delete the entire sitie and reinstall fresh, and DONT use front page with Drupal or use the front page extensions on yoru server. If you need access to a small and free FTP program use google and seek out Filezilla