Greetings,

I have encountered a problem after having installed Drupal 5.2: when creating a content (page, if it does matter), I can't upload files associated with that content item.

I use Firefox 2.0.0.6, JS enabled. When I click the button 'Upload', I see the animated progress bar and that's all. No file is uploaded, and JS console reports an error:

missing } after property list
http://example.com/misc/drupal.js
Line 131

Are there any fixes for that?

I use the default Drupal 5.2 theme (garland).

Thank you.

All the best,

Konstantin

Comments

Konstantin Boyandin’s picture

1. CCK 5.x-1.5 is installed.

2. I have NOT modified anything, the installation was smooth, without any problems.

3. /misc/jquery.js is included

mokargas’s picture

Hmm

a) Are you sure you haven't edited a template and forgot something like the $closure tag ( I assume you haven't)
b) Do you have Views 1.6 installed? CCK needs that
c) Has drupal.js been truncated? It should be ~5664 bytes

Konstantin Boyandin’s picture

a) I haven't modified anything
b) Views 5.x-1.6-beta5 is installed
c) drupal.js is 5664 bytes long

As I've said, the installation went smoothly, no files are damaged.

Any ideas? Shall I post an issue or I am the only one having this problem?

mokargas’s picture

Hmm, strange problem.

Just browsing through the drupal.org forums, appears like an AJAX problem that some people have had before. May be something to do with JQuery. If you view the source can you see /misc/jquery.js attached?

Konstantin Boyandin’s picture

Yes, it is included (see my very first comment to this topic).

I have posted an issue - this is rather unpleasant, since it breaks the functionality of the site.

mokargas’s picture

Yes, it's an unusual error I haven't heard of, so it's stabbing in the dark. Do you have any modules like the devel.module on - or just the core modules and CCK+Views?

Konstantin Boyandin’s picture

I do not use Devel module.
Only the core installation, plus CCK+Views and several more modules (Excerpt, Captcha, Calendar, Taxonomy access Lite, Hidden content)

I can give the administrative-rights login to whoever from Drupal dev. team who can handle the problem.

mokargas’s picture

And you have tried disabling those excess modules to see if that rectifies the problem?

Konstantin Boyandin’s picture

The error is reproduced on core 5.2 installation (with ALL the add-on modules disabled).

john morahan’s picture

Does clearing your browser's cache make any difference?

Konstantin Boyandin’s picture

No, it doesn't.

gracearoha’s picture

I am also having this problem with Drupal 5.2 on FF 2.0.
Anyone found a solution or have some suggestions on where to look?

mooffie’s picture

Konstantin has opened an issue. Please add your own comment, there, so the issue gets more attention.

gracearoha’s picture

my problem with the upload issue on Drupal 5.2 was solved after i set up my apache server to run suexec.