[Help] Have an error in hosting my registered domain

Started on the old forum in March 2011 · view the original in the archive · old links redirect here

18 replies · 952 views · started 15 years ago · 1 min read

TL;DR · summary of 18 replies
  • connectdb() function is missing from the script.
  • Check and ensure all config files (like config.php for wap and web) have been edited with correct database details.
  • The core.php file might be causing issues; consider renaming it or checking if it's required by the hosting environment.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

6 participants
chessmaster Junior · 40 posts #1

i've registered a free domain name in c0.cc which is xpresswap.co.cc, then i've used freewebhostingarea.com for hosting then evrything seems ok. i uploaded the site script.rar in file manager under the / root then in Create Database i imported the sql database and it successfully created. what should i do next? i,ve try to browse the site xpresswap.co.cc and this error appear: Fatal error: Call to undefined function connectdb() in /home/vhosts/xpresswap.co.cc/web/index.php on line 12 what should i do to fix that error?

sughie Junior · 12 posts #2

that means function connectdb() is missing on your script

I'm not a programmer i'm just a newbie join us at wapID

funtowap Developer · 59 posts #3

missing / cannot connect to sql db ! did u set config for connection / installed script?

Was Just Out of site WORLD ..... Coming BACkkkkkkk.....

chessmaster Junior · 40 posts #4

yes i installed or upload the script, what should i do? i found several config.php one for wap, another one for web and one for the main...

Added after 7 minutes:

what should i do to fix connectdb()? help me please im just a noob willing to learn..

Jervy Senior · 250 posts #5

Just input the required data such as db_user, db_password, db_host (usualy its localhost) and db_name. And everything's g0nna be alright.

chessmaster Junior · 40 posts #6

Jervy yes,, i input the required data already,, i edit the config.php in the wap.. and config.php for web.. both details are same.

subzero Super moderator Fellow · 3,954 posts #7

Can you pay $3.75 month for hosting ??

if so order with us and we will get your site online with a snap !

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Jervy Senior · 250 posts #8

Still don't work? What script are you running? Is it lava, uloki, cms or what? Is it supported by your host? Did you also uploaded the .htaccess file? Try to contact your host maybe your db host is n0t localhost but a rem0te db host.

chessmaster Junior · 40 posts #9

subzero thanks for the response,, i cant afford to pay for that amount. all i wanted is help for the said problem. 🙁

Added after 4 minutes:

Jervy, i just downloaded this script- community site.., i dont know if it is a lava.. yes i uploaded htaccess file.. i dont know if my hosting capable of my script.. it is freewebhostingarea.com..

subzero Super moderator Fellow · 3,954 posts #10

Ok.

Send your login to free host 6te.net

And i will set up your account to work.

support@host4u.com.au

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Jervy Senior · 250 posts #11

There you go buddy our friendly neighborho0d subzero to the rescue 😛

chessmaster Junior · 40 posts #12

thanks for all the response,, i wish he fix the error for me. lol

Added after 17 minutes:

where is he(subzero)? sir? i already sent you a message.. 🙂

subzero Super moderator Fellow · 3,954 posts #13

Im on it now but it seems missing files

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

chessmaster Junior · 40 posts #14

oh no! 🙁 thanks for the effort instead.. i like that kind of commnity script.

subzero Super moderator Fellow · 3,954 posts #15

core.php

Will not upload.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

chessmaster Junior · 40 posts #16

core.php? i uploaded the script in .rar and just downloaded the script here. i dont know if the script has a core.php.... meaning to say the script cant work without the core.php and useless?? 🙁

subzero Super moderator Fellow · 3,954 posts #17

Where did you download this ??

As far each time i upload core it deletes it

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

pmbguy Senior · 344 posts #19

ok, just a thought, but might not work n most likely too much effort... what if you rename core to something else? cause what if the hosting is set up so that

if (file_exists(core.php||othernames.exts||blockednames.etc))
{
unlink $file;
}

lol, i was thinking about coding something like that in a script sometime, try see how long it takes guys to figure it out... like self destruct if on wrong domain name etc... but yeah i told everyone, so most likely not, lol...

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close