Site crash & parse error after update

This topic contains 35 reply and 2 voices, and was last updated by mojomo 8 years, 11 months ago
Viewing 15 Posts - 1 through 15 (of 35 total)
Author Posts
May 12, 2015 at 5:23 am 43636
mojomo Hi, I tried to update to the latest Dokan version, but it crashed my site. I get a blank screen and this error message: Parse error: syntax error, unexpected '||' (T_BOOLEAN_OR), expecting ')' in /www/htdocs/w011c96d/boobiebazaar/wp-content/plugins/dokan/includes/functions.php on line 1607 Any advice?
May 12, 2015 at 9:58 am 43651
towhid towhid

Hello Mojomo,

Please open dokan/includes/functions.php and go to line no 1607 and replace below line of code and let me know the result.

if ( !isset( $_GET['product_search_name'] ) || empty( $_GET['product_search_name'] ) || ! isset( $_POST['dokan_product_search_nonce'] ) || ! wp_verify_nonce( $_POST['dokan_product_search_nonce'], 'dokan_product_search' ) ) {

Thank you 🙂

May 13, 2015 at 1:22 am 43797
mojomo mojomo

I tried a new update today. Seems like you changed something, at least the page is not going blank, which is a progress. However, I am facing new issues in the frontend now. The code in the functions.php is the same as you posted, but it extends over two lines and for some reason the second line isn’t numbered. So it starts out with line 1607, then the code continues in the line below, but this line has no number, then the following line is 1608. There are several lines in this file that are not numbered. Could this cause problems?

May 13, 2015 at 10:18 am 43813
towhid towhid

Hello Mojomo,

We have already fixed those error and pushed to server. Hope there will be no backend and frontend error. Can you please download the version [2.2.1] and let me know the result.

Thank you 🙂

May 13, 2015 at 7:10 pm 43893
mojomo mojomo

I installed version 2.2.1 yesterday and described the result above. The unnumbered lines might be causing the issues, but I don’t know. I exchanged the functions.php again. All lines are numbered before the upload, but once it’s on my server there are blanks inbetween as described above. I don’t know how this is even possible. Unfortunately, the new upload didn’t solve my frontend problems (crashed dashboard column).

May 14, 2015 at 1:11 pm 43957
towhid towhid

Please provide your login details by using this form: http://wedevs.com/provide-login-details/. I will have a look what is going wrong.

Thank you 🙂

May 14, 2015 at 8:40 pm 44064
mojomo mojomo

ok, done. thanks for checking.

May 16, 2015 at 4:37 pm 44158
towhid towhid

Hello Mojomo,

I can not able to access the File Server through the FTP details you had sent to me. Can you please check yourself and send me again the correct details.

Thank you 🙂

May 16, 2015 at 9:05 pm 44167
mojomo mojomo This reply has been marked as private.
May 17, 2015 at 2:42 pm 44202
towhid towhid

Hello Mojomo,

I did not need to visit your provider because I can now login to your site backend with the details you had provided to me. But I did not notice any error you have mentioned in the earlier post. Can you please download Dokan Version[2.2.2]. Even though if you have any error in current Dokan version but to update a new version which can save you from existing error and let me know the result.

Thank you 🙂

May 17, 2015 at 3:13 pm 44210
mojomo mojomo

Hello. I updated to the latest version (2.2.2), but the problem is still there. When you visit my website, go to Bazaar > Dashboard and you will see what I mean. Thank you.

May 17, 2015 at 3:19 pm 44211
towhid towhid

Hello Mojomo,

Can you please send me a screenshot with mark down the area where you get the error. It will help me to diagnosis the error and find out a solution.

Thank you 🙂

May 17, 2015 at 3:41 pm 44215
mojomo mojomo

I responded to your email. Did you receive it?

May 17, 2015 at 3:43 pm 44217
towhid towhid

I did not receive any email. Can you please let me know which email you have respond? Tell me the Email ID.

Thank you 🙂

May 17, 2015 at 3:53 pm 44220
mojomo mojomo

I uploaded two screenshots for you:
https://www.flickr.com/photos/59319254@N03/17147225453/in/dateposted-public/
https://www.flickr.com/photos/59319254@N03/17764976122/in/dateposted-public/
Please check.

May 17, 2015 at 4:21 pm 44224
towhid towhid

I have noticed the layout is haywire. It is coming from the theme you are using. Please allow me some time. Hope I will come back to you a right solution.

I have also fixed the code in this file dokan/includes/functions.php

Thank you 🙂

Viewing 15 Posts - 1 through 15 (of 35 total)