Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Help:
JR5 WYSIWYG Editor-Upload image into post fails
ba9801



Joined: 17 Jan 2013
Posts: 21

Posted: 08/10/13 01:31 
Wondering if anyone else is getting this issue.
We are running PHP 5.3.26, Mysql 5.0.96, Mod Suphp, Mysqli, GD Library, MbString.

Everything else looks OK but on a test band that I am creating when I try to INSERT MEDIA INTO POST / Upload Image , I select the image to upload, Auto upload finishes then a pop up comes up saying : UPLOADED FILE WAS NOT SAVED. NO FILE COULD BE FOUND. Close that and a yellow bar says imagename.jpg 14.5kb upload failed.

All other uploads ( Gallery , Add profile image etc ) Work fine.
I checked my folders and permissions are correct. ( Which shouldn't matter with Mod suPHP )
Does the image upload to the database or a generated folder?

We have a dedicated server with the upload max set to 500mb and as the file is so small I can rule that out.

We have installed the latest version of JR and also have the power pack ( Or whatever it's called ).
All modules beside foxycart are enabled and active.

I signed up an Aviary account ( For the resizing ) Although I think Aviary has changed as the instructions in the ACP are different then what they show at their site. But I assume that is for only resizing the gallery images.

I have uploaded a gallery so thats all good, Seems to only be the Upload Image under the Media icon in the profile editor.

Anyone have any idea why this might be happening?

We have lots of work to do and this is going to hold us up majorly.
I can provide Log Ins if needed.

Cheers
PBP

Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/10/13 02:11 
can see the issue on my dev environment. Will check out why now.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/10/13 02:32 
got it. Looks like some variable names changed. The fix will get into the next incremental release of JR5.

If you want to fix it up for your install there are 2 line changes. Both in the same file.
/modules/jrUpimg/templates/tab_ajax_upimg.tpl

Line26 currently looks like this:

Code
params:{ upload_name:'upimg_file', field_name:'pm_upimg_file', token:'{$tkn}', extensions:'png,jpg,gif,jpeg', multiple:'false' },

change that token:'{$tkn}', to upload_token:'{$tkn}',

The complete line change looks like this:

Code
params:{ upload_name:'upimg_file', field_name:'pm_upimg_file', upload_token:'{$tkn}', extensions:'png,jpg,gif,jpeg', multiple:'false' },


And the second location is in the same file, line72 currently is:

Code
jr_html_form_token:'{$tkn}'


change that to:

Code
upload_token:'{$tkn}'


and you should be all set.

Or you can wait for these changes to make it into the next release.

-- edit --
the aviry editor is shown here at around 1:33
https://www.youtube.com/watch?v=ti8LADOZFmU

Its for image manipulation, changing them, resizing etc. Its that popover editor thing.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
ba9801



Joined: 17 Jan 2013
Posts: 21

Posted: 08/10/13 04:30 
Thanks Michael,
Worked great. Had to clear the caches in ACP before it worked correctly but it worked great.
Support is amazing here. Answer within 40 minutes Wink
Cheers again

Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 08/10/13 23:02 
Ask good questions with all the relevant info to help and someone will help.

(And I just happened to be around at the time you asked Wink )

Thanks for the specific nature of the question. Really well asked.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Help

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.