• Resolved Pixeljunk Design

    (@pixeljunk-design)


    Hi folks,

    Wondering if anyone has seen this issues or would be kind enough to help me out here.I’m developing a new theme locally, my first theme from scratch so I’m a kinda wordpress newbie but in terms of web development I know what I’m doing.

    Here is the full error:

    Parse error: syntax error, unexpected T_STRING in D:\web\public_html\derekpaterson\wordpress_default\wp-content\themes\pixeljunkdesign\index.php on line 14
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0012	363312	{main}( )	..\index.php:0
    2	0.0024	367224	require( 'D:\web\public_html\derekpaterson\wordpress_default\wp-blog-header.php' )	..\index.php:17
    3	0.2916	17926592	require_once( 'D:\web\public_html\derekpaterson\wordpress_default\wp-includes\template-loader.php' )	..\wp-blog-header.php:16

    I have searched around but cant find a solution to this. I have tried changing the lines from the header, deleting some and then retrying the page, which is as follows:

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    however the error still reports line 14 which I find a little suspect given that I removed many unecessary lines. I’ve also removed all the calls to php same issues persists.

    Any ideas? Any help would be greatly appreciated. I really need to style my blog to look like the company website and its been on the list of todo’s for a while. Wasn’t expecting to get caught out so early in the development process with this!! 🙁

    Also which is strange but interesting is the output from the Apache error log which each time the page is requested procues this:

    [Mon Mar 12 10:31:31 2012] [error] [client 127.0.0.1] PHP Parse error:  syntax error, unexpected T_STRING in D:\\web\\public_html\\derekpaterson\\wordpress_default\\wp-content\\themes\\pixeljunkdesign\\index.php on line 14
    [Mon Mar 12 10:31:31 2012] [error] [client 127.0.0.1] PHP Stack trace:
    [Mon Mar 12 10:31:31 2012] [error] [client 127.0.0.1] PHP   1. {main}() D:\\web\\public_html\\derekpaterson\\wordpress_default\\index.php:0
    [Mon Mar 12 10:31:31 2012] [error] [client 127.0.0.1] PHP   2. require() D:\\web\\public_html\\derekpaterson\\wordpress_default\\index.php:17
    [Mon Mar 12 10:31:31 2012] [error] [client 127.0.0.1] PHP   3. require_once() D:\\web\\public_html\\derekpaterson\\wordpress_default\\wp-blog-header.php:16

    Whats these double slashes all about???

    Other themes work within this install.

    Thanks
    Derek

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Pixeljunk Design

    (@pixeljunk-design)

    resolved – syntax error on the code copied from tutorial site wasn’t quite right!

    Once I uninstall and then reinstall wordpress, I can access my admin login. But once I go to Settings, General, and edit the sub domain on the WordPress Address (URL) and Site Address (URL) and save, I get errors when I click on anything in my Dashboard and it is impossible to do anything but uninstall again. How do I get control of my site again? My other site http://www.secretrestaurantrecipessite.com woks perfectly fine, but http://www.specialtomeyouare.com/hello is broken. Please help!

    I uninstalled wordpress because I kept getting the error below after trying to edit the sub domain on the WordPress Address (URL) and Site Address (URL).

    Parse error: syntax error, unexpected T_STRING in /hermes/bosweb/web224/b2240/ipg.secretrestaurantreci/wp-config.php on line 90

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.