Forum Support

 
Advanced Search


New Posts
FAQs for Wordpress
If you have a question about Wordpress products please read through a list of our most commonly asked questions here.
[1]

Offline GrazieleR
Free Member
Posts: 2
Posted on: March 26, 2016, 11:50:10 AM

Hi Team,

I have downloaded the Samba Spa theme from Feb 2016, followed the instructions on "How To Install A WordPress Site Shaper" by copying and overwriting my copy of WordPress previously installed with Softaculous and I get the below failure message when I'm trying to reach my website. I can't go to wp-admin to update Worpdress.

Code:
Parse error: syntax error, unexpected ',', expecting '(' in /home/graziel3/public_html/wp-includes/comment.php on line 2303

Could you have a look at the comment.php file in SiteShaper_Shape5_Samba_Spa_WP.zip and let me know if you can re-produce the problem?

My hosting company (Siteground.com) had a look and they found this set of unrecognized characters in the PHP file: awesomescreenshot.com/0ce5qozh8f
As they couldn't go further than that I asked them if they could try and force a manual update of Wordpress which they did but I still get the following error message in my browser:

 
Code:
Parse error: syntax error, unexpected '}' in /home/graziel3/public_html/wp-includes/comment.php on line 2311

Before I copied your files over I was on Wordpress version 4.4.2 and my url is https://www.massagebygraziele.com
Logged

Offline Tristan Rineer
Free Member
Posts: 3858

That screenshot would appear to indicate that some of the files were corrupted during the upload process.  When using FTP, it is best to make sure that the FTP client is set to transfer in Binary mode.  The default mode that most FTP clients use (including when "auto" is selected) is ASCII mode, which transfers the "text" inside the files, rather than the actual files; this can cause code corruption, as information can get lost during the transfer (as indicated by your screenshot).

I recommend re-uploading the files and making sure that your FTP client (I recommend FileZilla) is set to binary mode.
Logged

Offline GrazieleR
Free Member
Posts: 2

Thank you, after a few attemps at re-downloading the zip file, re-extracting and re-uploading I got it to work properly (with binary transfer).

Could you please confirm that with the Site Shaper enabled and now working I do not need to worry about the zip file of the theme (e.g. the site shaper already contains the theme) and I only now need to upload the right pictures I want for my site?
Logged

Offline Tristan Rineer
Free Member
Posts: 3858

Yes, the Shaper includes the theme, and all plugins used on the demo.
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.02 seconds with 21 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.