Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Including problem :(

Asked Modified Viewed 1,440 times
B
BetinhoPL
B
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
asked
Newbie

Hi
I want to include a file in one of the panels (left menu). I created a file called test.php in a main directory. I entered a php code:

openside("name");
echo "Text";
include BASEDIR."test.php";
closeside();


what is strange that included file appeared on a main site in fact but central part with news and right menu simply dissapeared. I also got error:

Quote

Table 'arsenal_arsenal.fusion_flood_control' doesn't existTable 'arsenal_arsenal.fusion_thread_notify' doesn't existTable 'arsenal_arsenal.fusion_vcode' doesn't existTable 'arsenal_arsenal.fusion_new_users' doesn't exist


When I turn off panel then everything is OK.

My question is: what I`m doing wrong? How to include a file in a panel? Blessing for everyone who can help me :|
Edited by BetinhoPL on 18-03-2007 21:34,
0 replies

7 posts

J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
answered
Junior Member

openside("name");
echo "Text";
include BASEDIR."test.php";
closeside();



Change All >>> " <<< to >>> ' <<<
0 replies
J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
answered
Junior Member

P.S maybe I'm wrong and if so then sorry
0 replies
B
BetinhoPL
B
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

both panel and error dissapeared
0 replies
J
Jauns_noobs
J
img77.imageshack.us/img77/1635/userbarlatvijav03mu8.png
  • Junior Member, joined since
  • Contributed 31 posts on the community forums.
  • Started 11 threads in the forums
answered
Junior Member

Then I can't help :(
0 replies
B
BetinhoPL
B
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

thanks anyway mate :)

maybe someone else will know how to include a file in a panel :|
0 replies
D
DubSev
D
DubSev 10
......................................
let's go f***ing mental! la la la la...
  • Senior Member, joined since
  • Contributed 285 posts on the community forums.
  • Started 5 threads in the forums
answered
Senior Member

include (BASEDIR."test.php"wink;
Edited by DubSev on 18-03-2007 22:39,
0 replies
B
BetinhoPL
B
  • Newbie, joined since
  • Contributed 6 posts on the community forums.
  • Started 3 threads in the forums
  • Started this discussions
answered
Newbie

unfortunately I still got that error. Included file is OK
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 3 members

0 participants

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet