I am not sure if I am some super stupid or what... but i am facing these strange problems.... I am not able to use the edited version of blog.module.

What I am doing...

(1) I turn off the module blog first.
(2) Then I upload the edited version of blog.module and ftp it. I start getting errors on different-different line numbers and I have to use the original version back again
(3) I edited using notepad, wordpad (saving as text ofcourse) and even tried editing online through cpanel filemanager available on my host. I even tried editing the file by just putting a word after 'blog entries' without clicking enter or backspace to avoid any appearance of unknown characters.
(4) Is it bcos I am editing on Windows and my host is on linux and there is some character handling issue.
(5) Please suggest a editor or what wrong I might be doing.

thanks in advance, i m non a programmer so pls excuse me ...

Santy
http://www.indusnexus.com
Community Blogging | Social and Business Networking

Comments

dtan’s picture

It might help if you supply some of the specific errors you are having. I would suggest either ultraedit or jedit as editors.

dtan
--------------------------------------------------------------
Personal Blog Site

sepeck’s picture

Another editor suggestion is Crimson Editor. www.crimsoneditor.com. It is free and can save in UTF-8 format

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

media girl’s picture

Edit and save in UTF-8 character format.

FTP in ASCII mode (not binary) -- many ftp programs (like Fetch) will not automatically recognize ".module" as an ASCII file.

Clear your cache.

Read responses of people more knowledgeable than I.

--
mediagirl.org

chrisada’s picture

check whether you have an extra space or blank line at the end of the modified file.

mobkarma’s picture

Thanks everybody...

I think it should be UTF/Ascii ftp issue . I will try out the suggestions. The blank lines issue I had tried since i had faced the similar problem in conf file. So only two suggestions are left.

thanks agagain for helping me out.

IndusNeXus.com : India - Social & Business Networking

Steven’s picture

If the problem is line 1, then your editor is inserting a UTF-8 Byte-order mark/signature in the file. Good editors will allow you to turn this feature off. I use notepad2 to code PHP.

mobkarma’s picture

Now when I edited using crimson editor and uploaded using leech ftp. there were no errors in the line and when i try posting as a user I get access denied error. the permission setting and all that are okay.

please help. thanks in advance.
santy

IndusNeXus.com : India - Social & Business Networking