4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: TorchedFury on March 12, 2005, 01:21:09 AM
-
Hello, well I have this error with my 4images gallery and well here is the thing, I have descriptions for all my categories pretty much alright on the main page. So when I click one it gives me an error such as this:
Parse error: parse error, unexpected T_STRING in /home/chris/public_html/gallery/includes/template.php(133) : eval()'d code on line 307
But when I remove the descriptions the categorey works fine :?:
I have a another question, that is I removed my whole registration process and well I changed the log in table to a different table with information etc. But the weird thing is, if I go to a different page in my gallery the log in table *just the table not the login box or nothing like that* appears, how do I make that table replace that join table and make it appear on every page not just the main one.
Thanks
-
perhaps in descriptions used single quotes ( ' )
try replace them with ( ` ) (the key on keyboard on left side of key "1" (one))
-
So I should put my descriptions in quotes using this ` character?
-
no, I ment if the error caused by single quote ( ' ) then u probably can not use ' sign anywhere in the text neither in the templates...unless u want to change your template to one that doesnt use PHP code inside of it.
-
Ah I get what your saying, thanks and do you think you could help me out on my second issue:
I removed my whole registration process and well I changed the log in table to a different table with information etc. But the weird thing is, if I go to a different page in my gallery the log in table *just the table not the login box or nothing like that* appears, how do I make that table replace that join table and make it appear on every page not just the main one.
-
I have a another question, that is I removed my whole registration process and well I changed the log in table to a different table with information etc. But the weird thing is, if I go to a different page in my gallery the log in table *just the table not the login box or nothing like that* appears, how do I make that table replace that join table and make it appear on every page not just the main one.
Thanks
where did u change and what?
if u changed something inside home.html template, then u'll probably need to change same thing in the rest of "main" templates (details.html, categories.html, member.html, etc.)
-
I just did a change on the tables on the front page like changed the text, but the changes don't carry over to the other pages. So yeah I'll try that.