Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 07:50 am EST
Geeklog Forums
Including Problem in new page
Goltred
Anonymous
Greetings!
The error i'm having states that it cannot redeclare the class "template" in system/classes/template.class.php on line 62
I have a page (form.php), this file has the Form HTML and is the first "visible" file to the user which includes the file lib-common.php to show Geeklog's template.
The Form calls another page (form_process.php) when i click on the submit button to send an e-mail. In this file i have the output HTML stating that the e-mail was sent but instead of that the above error is displayed.
Since i need to show this output within Geeklog i'm including the lib-common.php file (with require_once) but that error is shown... and if i don't add the file with require_once then i can't use the COM_siteheader and similar functions from lib-common.php
Any help??
Thanks
10
12
Quote
Goltred
Anonymous
Any help please?
10
9
Quote
All times are EST. The time is now 07:50 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content