We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Unable to send photo with version 1.7.1 | Forum

Damien
Damien Sep 18 '14

I have a problem I can not solve. 

Since the upgrade to 1.7.0 to version 1.7.1, I can not send pictures. 

The error message displays "parsererror." 

I tried to put another version of the plugin photo "build 7631" instead of "build 7650". 

But that does not change. 

With the google tool I located the problem: 

"ow_static\plugins\base\js\ow.js" line 1451 (version 1.7.1)

But I think it's just the script that displays the error, but not the origin of the error. 


I made ​​changes in the code to make it compatible plugin photos of previous version of oxwall, 

and also to increase the limit on the number of photos per album per user. 


"ow_plugins/photo/bol/photo_dao.php" line 113


"ow_plugins/photo/bol/photo_dao.php" line 174


"ow_plugins/photo/bol/photo.php"


"ow_plugins/photo/controllers/admin.php" ligne 236


And I also change the encryption password :

"ow_system_plugins/base/bol/user_service.php" ligne 1759


And my table "ow_photo"



I tried without the changes made​​, but the problem remains the same.


Someone could he help me?

ross Team
ross Sep 18 '14
Revert the changes you did and follow the instructions from this tutorial: http://docs.oxwall.org/faq:parse-error-troubleshooting
Damien
Damien Sep 19 '14

Thank you for your support. But I've already done that. And the error is shown in this location :


"ow_static\plugins\base\js\ow.js" line 1451 (version 1.7.1)

ross Team
ross Sep 19 '14
Damien, what do you mean you cannot SEND pictures? Please share your URL
Damien
Damien Sep 19 '14

Yes, I can not send pictures. 

For now my domain name is no longer working because of a problem with my host, I work in local now. 

But as soon as my domain works, I give you the link.

ross Team
ross Sep 19 '14
Alright, can you please specify, send pictures via what? where do you try to send the pictures.
Damien
Damien Sep 19 '14
Send photos in the photo gallery (in the photo plugin).

My English is really bad, I apologize.

ross Team
ross Sep 19 '14
Do you mean upload?
Damien
Damien Sep 19 '14

Yes, upload. 

In desperation, I did a fresh install of 1.7.1 oxwall. 

And I added the code in the file: 

"ow_plugins/photo/bol/photo_dao.php" line 113 and 174

And this is the code that made ​​the mistake. 


Only this code worked fine in version 1.7.0. 

How can I do? (remove the verification code) 


For me this code change is required for my site. 


Which file in oxwall fact that verification code? 

Maybe I could just replace this file with the 1.7.0?


I want to thank you for your help is invaluable. 

and rarely on support CMS

Oxwall is the best CMS in the world. 

For his support and for his coding

The Forum post is edited by Damien Sep 19 '14
Damien
Damien Sep 20 '14

I found the solution to my problem. 

But it is incomprehensible. 

I had to remove the notification of new columns in my table "ow_photo" 


Thank you so much for your help.


"ow_plugins/photo/bol/photo.php"



"ow_plugins/photo/bol/photo_dao.php" line 113


"ow_plugins/photo/bol/photo_dao.php" line 174



tammy harris
tammy harris Sep 20 '14
you should check folder permisions 
Damien
Damien Sep 20 '14

Thank you. 

But my problem is solved now.