|
jstop
|
 |
« on: November 19, 2011, 06:23:06 am » |
|
THis is the error I get after installing SMFGallery3.0.25a
Template Parse Error!
There was a problem loading the /Themes/default/Gallery.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme. syntax error, unexpected '&', expecting T_VARIABLE or '$'
Hopefully someone can help
Also Since I tried several times I now have multiple "gallery" links in the top navigation, where do i remove them?
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #1 on: November 19, 2011, 09:05:56 am » |
|
Can you attach your Gallery.template.php
|
|
|
|
|
Logged
|
|
|
|
|
jstop
|
 |
« Reply #2 on: November 19, 2011, 09:34:22 am » |
|
here
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #3 on: November 19, 2011, 09:39:56 am » |
|
That file looks ok can you run this query on your database REPLACE INTO smf_settings VALUES ('disableTemplateEval', 1);
Then try to review the page causing the error. It should then give you true error file and line number.
|
|
|
|
|
Logged
|
|
|
|
|
jstop
|
 |
« Reply #4 on: November 19, 2011, 10:04:31 am » |
|
phpMyadmin is telling me I need to select at least one column to display. I'm not good with Database stuff
|
|
|
|
|
Logged
|
|
|
|
|
|
|
jstop
|
 |
« Reply #6 on: November 19, 2011, 10:49:13 am » |
|
I installed the mod, now what do I look for?
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #7 on: November 19, 2011, 10:52:52 am » |
|
Under Server Settings / Feature Configuration
Disable template eval check the screenshot for details on mod site.
|
|
|
|
|
Logged
|
|
|
|
|
jstop
|
 |
« Reply #8 on: November 19, 2011, 10:58:07 am » |
|
unchecked the box
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #9 on: November 19, 2011, 11:01:21 am » |
|
Hmm it should checked though.
Also attach your index.template.php can fix the duplicate links.
|
|
|
|
|
Logged
|
|
|
|
|
jstop
|
 |
« Reply #10 on: November 19, 2011, 11:04:10 am » |
|
it was checked, I unchecked it
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #11 on: November 19, 2011, 11:13:33 am » |
|
Well the gallery.template.php file looked ok. The other files that could be messed up would be the themes/default/languages/gallery.english.php or modifications.english.php files.
|
|
|
|
|
Logged
|
|
|
|
|
jstop
|
 |
« Reply #12 on: November 19, 2011, 11:18:38 am » |
|
checked error Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/bridg38/public_html/Themes/default/Gallery.template.php on line 1822
unchecked error
Template Parse Error! There was a problem loading the /Themes/default/Gallery.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme. syntax error, unexpected '&', expecting T_VARIABLE or '$'
|
|
|
|
|
Logged
|
|
|
|
|
jstop
|
 |
« Reply #13 on: November 19, 2011, 11:23:55 am » |
|
here are the other files
|
|
|
|
|
Logged
|
|
|
|
|
SMFHacks
|
 |
« Reply #14 on: November 19, 2011, 11:28:51 am » |
|
Still need your index.template.php
Having a hard time looking at the gallery.templat.php file not sure if it was downloaded correctly since it adds an extra line after every line in the file and can find exactly the line number 1822 do to this.
|
|
|
|
|
Logged
|
|
|
|
|