PPH Installation problems
-
I installed the pluging but I ran up against some PHP errors.
I am currently stuck on wp-content\themes\hueman\functions\class-tgm-plugin-activation.php on line 2001
with this message: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’ or ‘;’
Below is the way the page installed:
/** Output error strings if an error has occurred */ if ( $this->error || ! $this->result ) { if ( $this->error ) echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed_error'], $this->plugin_names[$this->i], $this->error ) . '</p></div>'; else echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed'], $this->plugin_names[$this->i] ) . '</p></div>'; echo '<script type="text/javascript">jQuery(\'#progress-' . esc_js( $this->upgrader->update_current ) . '\').show();</script>'; } This is where I am currently at- but the message hasen't changed one iota! if ( $this->error || ! $this->result ) { if ( $this->error ) <strong>line 2001 echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed_error'], $this->plugin_names[$this->i], $this->error;) . </p></div>;</strong> else echo '<div class="error"><p>' . sprintf( $this->upgrader->strings['skin_update_failed'], $this->plugin_names[$this->i] ) . '</p></div>'; echo '<script type="text/javascript">jQuery(\'#progress-' . esc_js( $this->upgrader->update_current ) . '\').show();</script>'; }
NOTE THAT I CHANGED “</p></div>’ ;” TO ” </p></div>; AT THE END TO “OF THE LINE BECAUSE THAT IS WHAT WAS REQUIRED TO FIX THE PREVIOUS ERROR.
I know you said you are not into PHP but Just though I would ask if you happen to have a clue on this one. It’s been stumping me for awhile !
This is the way it originally looked: I also added the “;” before the ending “)”
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PPH Installation problems’ is closed to new replies.