-
AuthorPosts
-
November 8th, 2016 at 20:46 #40529airinsightPower User
Updated theme and site crashed. This is the error code:
Parse error: syntax error, unexpected end of file in /home/airinsight/public_html/wp-content/themes/fluida/admin/main.php on line 186
Just bought the $25 plan – help me please!
November 8th, 2016 at 21:00 #40533Hi
In Fluida 1.13 the main.php is broken.
Can you FTP to your site? If so, locate that “main.php”, edit the text file, scroll to the endof the file and add the last lines:
<script type="text/javascript"> var reset_confirmation = '<?php echo esc_html( __( 'Reset Fluida Settings to Defaults?', 'fluida' ) ); ?>'; </script> <?php } // fluida_page_fn()
or
Take the main.php from V. 1.1.2
Best regards, simon
November 8th, 2016 at 21:02 #40534yep another update and the whole thing crashes!Great!
November 8th, 2016 at 21:07 #40535Hey SysAdmin
Please take down 1.1.3 until it is fixed. Some many users will be left with a broken site.
Thanks, simon
November 8th, 2016 at 21:09 #40536Yes absolutely! Otherwise time for a new theme which is a shame cause I worked real hard at that!
November 8th, 2016 at 21:12 #40537Btw Simon thanks for that code! It worked!
November 8th, 2016 at 21:16 #40538Your welcome!
Here again the code to prevent misunderstanding:
p –> <script type=”text/javascript”> var reset_confirmation = ‘<?php echo esc_html( __( ‘Reset Fluida Settings to Defaults?’, ‘fluida’ ) ); ?>’; </script> <?php } // fluida_page_fn()
November 8th, 2016 at 21:29 #40539I just updated Fluida, and I can no longer log into my site. What am I supposed to do?!
November 8th, 2016 at 21:32 #40540Are you a tech person? If so, see my post above.
November 8th, 2016 at 21:47 #40541No, sorry, I am definitely not a tech person. I saw the previous post, but I don’t understand what I’m supposed to do with that.
November 8th, 2016 at 21:58 #40543Can you log on to your site with some other method than the one used in WordPress (FTP, Web-Admin, etc.)?
Or do you have access to an IT pro?
November 8th, 2016 at 22:10 #40544The only way I know to log in is through WordPress or my hosting site (BlueHost), and unfortunately I don’t know any IT pros :-(. I have a plan that backs up my site, do you know if I would be able to restore it to the previous version that way?
November 8th, 2016 at 22:12 #40545Backup plan is a very good idea. Just restore to a the version before the update, and then you should be fine. Afterwords don’t update until the people of Cryout Creations have fixed the issue.
November 8th, 2016 at 22:16 #40546you can mail me at simon.kaiser.in.china@gmail.com (don’t worry, I’m not in China anymore).
November 8th, 2016 at 22:41 #40549Hi
HELP
simon, I added your text but i get a new error:Parse error: syntax error, unexpected ‘Fluida’ (T_STRING) in C:\xampp\htdocs\wordpress\wp-content\themes\fluida\admin\main.php on line 189
Im working locally at the moment
thanks
RonnyNovember 8th, 2016 at 22:43 #40565these are my last lines in main.php:
<div id=”fluida-news” class=”postbox news” >
<h3 class=”hndle”><?php _e( ‘Theme Updates’, ‘fluida’ ); ?></h3>
<div class=”panel-wrap inside”>
</div><!– inside –>
</div><!– news –></div><!– righty –>
</div> <!– wrap –><script type=”text/javascript”>
var reset_confirmation = ‘<?php echo esc_html( __( ‘Reset Fluida Settings to Defaults?’, ‘fluida’ ) ); ?>’;
</script> <?php
} // fluida_page_fn()November 8th, 2016 at 22:51 #40566these are the last lines in main.php file:
<div id="fluida-news" class="postbox news" > <h3 class="hndle"><?php _e( 'Theme Updates', 'fluida' ); ?></h3> <div class="panel-wrap inside"> </div><!-- inside --> </div><!-- news --> </div><!-- righty --> </div> <!-- wrap --> <script type=”text/javascript”> var reset_confirmation = ‘<?php echo esc_html( __( ‘Reset Fluida Settings to Defaults?’, ‘fluida’ ) ); ?>’; </script> <?php } // fluida_page_fn()
November 8th, 2016 at 22:51 #40567ZedCryout Creations mastermindSorry about this. A broken file (due to an incomplete file transfer) managed to sneak through in the 1.1.3 update archive.
We’ve already released 1.1.4 to correct this. If you haven’t updated or restored an older version to recover the site, you can now update to 1.1.4.If your site is still malfunctioning due to the 1.1.3 update, unfortunately the fix isn’t too simple: you’ll need to get into WordPress’ folder/file structure (using the hosting account’s file manager or a FTP client), look for the fluida folder in wp-content/themes/ and rename (or delete) it.
This will make WordPress switch to the default theme, restoring the whole site to working order. Now you can reinstall Fluida (the settings are kept).If you’re comfortable with file management, uploading fluida/admin/main.php from 1.1.4 over the one present in your site will suffice.
PS: I’ve separated this discussion as the original thread is unrelated.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.November 8th, 2016 at 22:53 #40568I am going to skip the updates until they are thoroughly tested for now! Thanks!
November 8th, 2016 at 23:12 #40570me too!!
-
AuthorPosts
The topic ‘Update trouble in 1.1.3’ is closed to new replies.