| |
| View previous topic :: View next topic |
eZtreme Moderator

Joined: 21 Nov 2004 Posts: 521 Location: irc.quakenet.org #funpic
|
Posted: 30.01.05 02:11 Post subject: Warning: xxx... has been disabled for security reasons... |
|
|
|
Warning: ...,ini_get,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak,listen,tmpfile,link,mb_send_mail() has been disabled for security reasons in <filename.php> on line xxx
Some funtions have been disabled for security reasons.
Execs: exec, passthru, system, popen
Disk: highlight_file, diskfreespace, show_source, tmpfile, link
Socket: fsockopen, pfsockpen, listen
Ini: ini_get,ini_alter,ini_restore,ini_set,set_time_limit
System: getrusage, get_current_user,getmyuid,getmypid,dl,leak
Misc: php_uname, mb_send_mail
If you get an error like that with a script you downloaded somewhere, try to comment "line xxx" in "<filename.php>" out by putting "//" infront of the line. Some scripts use this functions, but don't necessarly need it and work fine without it  _________________ FIREFOX
Anti IE ...trying to stop the Internet Explorer
Anti IE banners for _your_ forum signature! |
|
| Back to top
|
|
|
wmvision Guest
|
Posted: 12.03.05 23:23 Post subject: Er kon geen verbinding worden gemaakt met de MySQL database. |
|
|
|
Er kon geen verbinding worden gemaakt met de MySQL database. Verander de gegevens
The problem is here:
$Host = "funpic.de";
its does not work... |
|
| Back to top
|
|
|
DiTmods Fun-Member

Joined: 09 Mar 2005 Posts: 64 Location: The Netherlands
|
Posted: 13.03.05 11:21 Post subject: Re: Er kon geen verbinding worden gemaakt met de MySQL datab |
|
|
|
| wmVision wrote: | Er kon geen verbinding worden gemaakt met de MySQL database. Verander de gegevens
The problem is here:
$Host = "funpic.de";
its does not work... |
I don't know which prog you use but try localhost.
| Code: | | $Host = "localhost"; |
Greetz,
Rik© _________________
|
|
| Back to top
|
|
|
ven Moderator

Joined: 10 Dec 2004 Posts: 2064 Location: USA
|
Posted: 26.04.05 16:38 Post subject: |
|
|
|
Sorry, that function is disabled. You can't do anything about it. _________________

|
|
| Back to top
|
|
|
ven Moderator

Joined: 10 Dec 2004 Posts: 2064 Location: USA
|
Posted: 26.04.05 19:14 Post subject: |
|
|
|
It's disabled everywhere. _________________

|
|
| Back to top
|
|
|
hobbaprograms Guest
|
Posted: 21.08.05 00:04 Post subject: |
|
|
|
| my site has its not loading what should i do? |
|
| Back to top
|
|
|
bami Fun-Spammer

Joined: 02 Jan 2005 Posts: 427 Location: The Netherlands
|
Posted: 21.08.05 00:27 Post subject: |
|
|
|
read around the forums for the possible cause _________________ I have betrayed you guys ,
I've switched to another (paid) host, but don't worry,
I'll check back every now and then ;D. |
|
| Back to top
|
|
|
basik Guest
|
Posted: 28.08.05 21:39 Post subject: My site wont open plz help |
|
|
|
i uploaded a theme to my site a php nuke platinum theme, but i did not know i had to chagne some stuff in the theme_instal.php file, so i change the theme to that theme and now my site is not working can ne one plz help, here is the theme_install.php file if ne one can point out the stuff that i need to change plz. after the theme wouldnt open i deleted the theme through FTP thinkin that it would go back to defualt on t platinum but it did not, and the error that it is giving me is below under the text file . plz help
<?php
require_once("mainfile.php");
global $admin;
if(!is_array($admin)) {
$adm = base64_decode($admin);
$adm = explode(":", $adm);
$aname = "$adm[0]";
} else {
$aname = "$admin[0]";
}
$index=1;
$adm_info = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_authors WHERE aid='$aname'"));
if ($adm_info['radminsuper']==1) {
//installer title
$pagename = "Theme Cpanel";
switch($op) {
default:
$pagetitle = $pagename;
include("header.php");
title("$");
OpenTable();
echo "<table align='center' border='0' cellpadding='2' cellspacing='2'>\n";
echo "<form action='".$_SERVER['PHP_SELF']."' method='post'>\n";
echo "<tr><td align='center'>This script will Install SQL tables or Destall SQL tables for $pagename.</td></tr>\n";
echo "<tr><td align='center'><b>Backup data tables before proceeding!</b></td></tr>\n";
echo "<tr><td align='center'><b>Proceed at your own risk. Kenetix will not be responsible for anything that happens to your nuke site!</b></td></tr>\n";
echo "<tr><td align='center'><select name='op'>\n";
echo "<option value='install'>Install $pagename SQL</option>\n";
echo "<option value='destall'>Destall $pagename SQL</option>\n";
echo "</select> <input type='submit' value='COMMIT'></td></tr>\n";
echo "</form>";
echo "</table>\n";
CloseTable();
include("footer.php");
break;
case "install":
//title of page for installer
$pagetitle = "$pagename: Install Theme CPanel";
include("header.php");
title("$pagetitle");
OpenTable();
echo "Operation Results:<br>\n";
echo "<hr>\n";
$result = $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_thememail");
$result = $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_themecpanel");
$result = $db->sql_query("CREATE TABLE ".$prefix."_themecpanel (
sitemsg text NOT NULL,
link1name text NOT NULL,
link1url text NOT NULL,
link2name text NOT NULL,
link2url text NOT NULL,
link3name text NOT NULL,
link3url text NOT NULL,
link4name text NOT NULL,
link4url text NOT NULL,
link5name text NOT NULL,
link5url text NOT NULL,
broadcastmsg tinyint(1) NOT NULL default '0',
forumleftblocks tinyint(1) NOT NULL default '0',
clock tinyint(1) NOT NULL default '0',
sitelogin tinyint(1) NOT NULL default '0',
themeflash tinyint(1) NOT NULL default '0',
themesearch tinyint(1) NOT NULL default '0',
pmpop tinyint(1) NOT NULL default '0',
leftblockstemp tinyint(1) NOT NULL default '0',
rightblockstemp tinyint(1) NOT NULL default '0',
rightclick tinyint(1) NOT NULL default '0',
rightclick1 tinyint(1) NOT NULL default '0',
disableall tinyint(1) NOT NULL default '0',
disableall1 tinyint(1) NOT NULL default '0',
sourcecode tinyint(1) NOT NULL default '0',
clickms varchar(255) DEFAULT 'Your text here!' NOT NULL
) TYPE=MyISAM");
if (!$result) { echo "- Create ".$prefix."_themecpanel failed<br>\n"; } else { echo "- Create ".$prefix."_themecpanel succeeded<br>\n"; }
//insert values - also if fail, display msg
$db->sql_query("INSERT INTO ".$prefix."_themecpanel VALUES ('Your message. HTML code may be used.', 'HOME', 'index.php', 'DOWNLOADS', 'modules.php?name=Downloads', 'LINKS', 'modules.php?name=Web_Links', 'CONTENT', 'modules.php?name=Content', 'ACCOUNT', 'modules.php?name=Your_Account', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,'Your text here!')");
//display results
if (!$result) { echo "- Insert into ".$prefix."_themecpanel failed<br>\n"; } else { echo "- Insert into ".$prefix."_themecpanel succeeded<br>\n"; }
echo "<hr>\n";
echo "<b>Theme CPanel is successfully aaded in database.<br>Please <font color=#ff0000>delete</font> this file from your server <b>immediatly</b> for security reasons!<br><br><br><center>Click on the icon below to config Theme Cpanel.<br><br><a href=\"admin.php?op=themecpanel\"><img src=\"images/admin/themecpanel.gif\" border=0></a></center>";
CloseTable();
include("footer.php");
//calls footer
break;
//destaller - change required fields
case "destall":
$pagetitle = "$pagename: Destall";
include("header.php");
title("$pagetitle");
OpenTable();
echo "Operation Results:<br>\n";
echo "<hr>\n";
$result = $db->sql_query("DROP TABLE IF EXISTS ".$prefix."_themecpanel");
if (!$result) { echo "- Destall ".$prefix."_themecpanel failed<br>\n"; } else { echo "- Destall ".$prefix."_themecpanel succeeded<br>\n"; }
echo "<hr>\n";
echo "Operation Complete<br>\n";
echo _GOBACK."\n";
CloseTable();
include("footer.php");
break;
}
} else {
$pagetitle = "$pagename: ERROR";
include("header.php");
title("$pagetitle");
OpenTable();
echo "<center><b>Sorry, ONLY super admins may run this script. If you have no clue what a super user is, just run along and play ball.</b><center>\n";
CloseTable();
include("footer.php");
}
?>
THE ERROR
Warning: head(themes/Zeonix/theme.php): failed to open stream: No such file or directory in /usr/export/www/hosting/basik/header.php on line 53
Warning: head(): Failed opening 'themes/Zeonix/theme.php' for inclusion (include_path='.:') in /usr/export/www/hosting/basik/header.php on line 53
Fatal error: Call to undefined function: themeheader() in /usr/export/www/hosting/basik/header.php on line 74 |
|
| Back to top
|
|
|
pes Funnilein
Joined: 09 Jul 2005 Posts: 1
|
Posted: 05.11.05 16:24 Post subject: HELP ME!!!! |
|
|
|
I'm from Belgium
Why i can't register my new site? |
|
| Back to top
|
|
|
czarofnik Funnilein

Joined: 26 Sep 2006 Posts: 2
|
Posted: 12.10.06 16:41 Post subject: PROBLEM WITH ACCOUNT |
|
|
|
| I created an account on funpic.org I've installed scripts then my account disapeared. I can't log into my account and FTP shows that login is incorrect.There's an admin which look after this. Register is impossible because there is a text that "User already exist in database". What should I do to recover my files. |
|
| Back to top
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|