I got the following error after trying to create the first test entry (tried two times). And I also created a folder in files/blog....

is there any documentation for this modules?

* file_save_upload = FAILURE stdClass Object ( [uid] => 1 [created] => 1235994153 [type] => pblog [language] => [changed] => 1235994153 [title] => First test of Pictures Blog [teaser_js] => [teaser_include] => 1 [body] => Dear All,

We have included a new format of Blog that allows you to submit many pictures as Zip file and it generates a gallery for your blog. Write about the Gallery if you want and enjoy.

Best wishes
Danish Hussain
Custodian of Pakideas [format] => 2 [image] => [revision] => 0 [log] => [name] => admin [date] => [status] => 1 [promote] => 1 [sticky] => 0 [op] => Save [submit] => Save [preview] => Preview [form_build_id] => form-407abf1f458ed44040bf679b1faa7f98 [form_token] => 8a42103f3278f5534ec42c228d29d54e [form_id] => pblog_node_form [comment] => 2 [menu] => Array ( [mlid] => 0 [module] => menu [hidden] => 0 [has_children] => 0 [customized] => 0 [options] => Array ( ) [expanded] => 0 [parent_depth_limit] => 8 [link_title] => [parent] => primary-links:0 [weight] => 0 [plid] => 0 [menu_name] => primary-links ) [path] => [upload] => [attach] => Attach [priority_override] => -2 [xmlsitemap_node_status] => 1 [teaser] => Dear All,

We have included a new format of Blog that allows you to submit many pictures as Zip file and it generates a gallery for your blog. Write about the Gallery if you want and enjoy.

Best wishes
Danish Hussain
Custodian of Pakideas [validated] => 1 [is_new] => 1 [timestamp] => 1235994153 [vid] => 106 [moderate] => 0 [tnid] => 0 [translate] => 0 [nid] => 106 )
* Your file could not be upload please check it is not bigger than the upload_max_filesize of: 2M

Comments

baldy’s picture

Hi ,
From the error message the zip file could not be uploaded this is most likely a issue with your webservers configuration
The problem is at the end of the error message you posted "Your file could not be upload please check it is not bigger than the upload_max_filesize of: 2M"

Was the zip file bigger than 2Mb? Can you try with a small zip file or just a single image?

Cheers
Laurence

baldy’s picture

Status: Active » Postponed (maintainer needs more info)
macrodesign’s picture

yes you are write, I was mistakenly putting the bigger size file.... but I tried a 200kb file, it also failed with similar message....

BUT YOU KNOW WHAT, it is fixed :) i looked at the code and AND ERROR onthat line and found it was trying to mkdir image_dir so i gave it a try (with my limited knowledge) i made a directory named image_dir in sites/all/file/image_dir AND GUESS WHAT IT IS FIXED.... :) strange coz it did not put any files there... i am going to post few more tests now to see if there are any errors....

Some other things i did before making a test blog are as follows:

Run update.php
Cron maintenance task

By the way the only problem that is still there when I try to access the Blocks region and try to click on Config infront of pBlog the flowing error appears....

Fatal error: Cannot use string offset as an array in /home/pakopini/public_html/pakideas/includes/form.inc on line 976

While on the other hand, it is SHOWING A RANDOM IMAGE from the pBlog

But I can live with this error if you can ensure me it will not cause any harm to the site contents...

Appreciate any feedback, thanks a million

Best wishes
Danish

baldy’s picture

Status: Postponed (maintainer needs more info) » Fixed

Hi Danish,
Glad you got it worked out. If you have a chance please send me a diff or copy of your pblog.module so I can see what the error was.

Regards
Laurence

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.