0
Welcome Guest! Login
0 items Join Now

Parse Error?? Please Help!

    • Sam J's Avatar
    • Sam J
    • Newbie
    • Posts: 6
    • Thanks: 0

    Parse Error?? Please Help!

    Posted 14 years 1 month ago
    • Whenever I go to my website, this error pops up on the screen.

      Parse error: syntax error, unexpected T_STRING in /home/samhost/public_html/wp-content/themes/rt_juxta_wp/widgets/copyright.php on line 51

      I can't even log into my wordpress dashboard without getting this message. Does anyone know how to fix this?

      Thanks.
    • JEM's Avatar
    • JEM
    • Preeminent Rocketeer
    • Posts: 17917
    • Thanks: 4

    Re: Parse Error?? Please Help!

    Posted 14 years 1 month ago
    • Don't know if it is the same for WP, but for Joomla, that particular error indicats an outdated version of php.

      Check to see if you are using version 4, and if so, try to upgrade to version 5.
    • Thanks,
      jim
    • Sam J's Avatar
    • Sam J
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Parse Error?? Please Help!

    Posted 14 years 1 month ago
    • My site has been up and running fine for weeks. I literally just tried to add my name at the bottom of the site using the editor to edit the copyright.php file. I hit save file, and then the error pops up, but the insane part is I can't go back to the editor. Every time I try and go to my dashboard, or my home page or anything I get the error so I don't have any way to fix it.

      I tried uploading the original copyright.php file via ftp, but that didn't fix anything.
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Parse Error?? Please Help!

    Posted 14 years 1 month ago
    • Really sounds like you broke the PHP syntax in your copyright.php file. That is exactly what the error is saying, basically it's finding a string character where the PHP parser is not expecting one. Replacing your copyright.php file should fix it, or you can past your copyright.php contents here and we can take a look to see where your error is.
    • Sam J's Avatar
    • Sam J
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: Parse Error?? Please Help!

    Posted 14 years 1 month ago
    • Replacing the copyright.php file worked! I tried that before but I just realized that there are two different copyright.php files, I just needed to change the correct one. Thanks everyone!!
  • Re: Parse Error?? Please Help!

    Posted 12 years 2 months ago
    • Hi, I am also facing the same error

      "Parse error: syntax error, unexpected T_STRING in /home/globale2/public_html/globale2c/rt_voxel_wp-rocketlauncher/wp-content/plugins/gantry/gizmos/maintenancemode.php on line 1"

      Please help me. I log on my domain host cpanel and i can see that my PHP version is only 5.2.x

      Is this the problem and how can I get an updated version?
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Parse Error?? Please Help!

    Posted 12 years 2 months ago
    • I don't trust CPanel :)

      Try this instead: www.webriti.com/index.php/wordpress/how-...ion-using-wordpress/

      Your webhost might have several versions of PHP, like 4.x and 5.2.x and your account might have 4.x enabled as default.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Parse Error?? Please Help!

    Posted 12 years 2 months ago
    • Thank you. Yes, the health check show that I am running on 5.2 PHP. I have spoken to my service provider and they will change my server to 5.3 enable PHP server.

      By the way, the forum used to have a section on Wordpress templates. Have this been removed?

      I like rockettheme templates very much and Voxel RokSprocket Mosaic Layout is exactly what I am looking for. Joomla has a lot templates with RokSprocket Mosaic Layout. When can we have more template with RokSprocket Mosaic Layout for Wordpress?
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Parse Error?? Please Help!

    Posted 12 years 2 months ago
    • Derick Ding wrote:
      By the way, the forum used to have a section on Wordpress templates. Have this been removed?

      I like rockettheme templates very much and Voxel RokSprocket Mosaic Layout is exactly what I am looking for. Joomla has a lot templates with RokSprocket Mosaic Layout. When can we have more template with RokSprocket Mosaic Layout for Wordpress?

      No, the WP forum has not been removed. It's just that your membership has expired so you cannot see the WP forum until you renew..
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Parse Error?? Please Help!

    Posted 12 years 1 month ago
    • Hi,

      I have upgrade my PHP to 5.3.x however, I am still getting this error

      Parse error: syntax error, unexpected T_STRING in /home/globale2/public_html/rt_voxel_wp-rocketlauncher/wp-content/plugins/gantry/gizmos/maintenancemode.php on line 1

      Please help.

Time to create page: 0.075 seconds