Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-05-05 06:30:16

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

error in phplugins.php

Bluehost reported the line 128 is broken: here are some of the lines before and after it. I have marked the line in the box.

// Some example functions are included below. Feel free to delete or modify unwanted functions.
// ****************************************************************************************************
// GET FUNCTIONS FROM WORDPRESS
define('__ROOT__', '/home1/garyphot/public_html/galleries/phplugins'); // SET PATH TO WORDPRESS

require_once(__ROOT__.'/wp-includes/version.php'); global $wp_version;

require_once(__ROOT__.'/wp-load.php');

// SITE-WIDE NAVIGATION FROM WORDPRESS
function ttg_header_navigation( $style, $path )

Offline

#2 2015-05-05 06:46:08

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: error in phplugins.php

in the first line, your path to WordPress is wrong. Instead, you have the path to phplugins. remove : /galleries/phplugins and you should be good to go. (assuming that WordPress is installed in the root of your site)


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-05-05 06:50:18

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: error in phplugins.php

Thank you. thank you. I can now stop tearing my hair out.
LOL

Offline

#4 2015-05-05 06:52:41

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: error in phplugins.php

Always happy when I can save hair. Or monitors, from thrown mice...


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

Board footer

Powered by FluxBB