catforum
Apr 12 2005, 11:41 AM
QUOTE connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect); $msg = ''; $quit = FALSE; $curr_os = PHP_OS; $curr_php_version = PHP_VERSION; if($curr_php_version < '4.0.0') { $msg .= "$lang[php_version_400]\t"; $quit = TRUE; } elseif($curr_php_version < '4.0.6') { $msg .= "$lang[php_version_406]\t"; } if(@ini_get(file_uploads)) { $max_size = @ini_get(upload_max_filesize); $curr_upload_status = $lang['attach_enabled'].$max_size; $msg .= $lang['attach_enabled_info'].$max_size."\t"; } else { $curr_upload_status = $lang['attach_disabled']; $msg .= "$lang[attach_disabled_info]\t"; } $query = $db->query("SELECT VERSION()"); $curr_mysql_version = $db->result($query, 0); if($curr_mysql_version < '3.23') { $msg .= "$lang[mysql_version_323]\t"; $quit = TRUE; } $curr_disk_space = intval(diskfreespace('.') / (1024 * 1024)).'M'; if(dir_writeable('./templates')) { $curr_tpl_writeable = $lang['writeable']; } else { $curr_tpl_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_template]\t"; } if(dir_writeable('./customavatars')) { $curr_avatar_writeable = $lang['writeable']; } else { $curr_avatar_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_avatar]\t"; } if(dir_writeable($attachdir)) { $curr_attach_writeable = $lang['writeable']; } else { $curr_attach_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_attach]\t"; } if(dir_writeable('./forumdata')) { $curr_data_writeable = $lang['writeable']; } else { $curr_data_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata]\t"; } if(dir_writeable('./forumdata/templates')) { $curr_template_writeable = $lang['writeable']; } else { $curr_template_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata_template]\t"; $quit = TRUE; } if(dir_writeable('./forumdata/cache')) { $curr_cache_writeable = $lang['writeable']; } else { $curr_cache_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata_cache]\t"; $quit = TRUE; } if(dir_writeable('./forumdata/accesslogs')) { $curr_accesslog_writeable = $lang['writeable']; } else { $curr_accesslog_writeable = $lang['unwriteable']; $msg .= "$lang[unwriteable_forumdata_accesslog]\t"; } if(strstr($tablepre, '.')) { $msg .= "$lang[tablepre_invalid]\t"; $quit = TRUE; } $db->select_db($dbname); if($db->error()) { $db->query("CREATE DATABASE $dbname"); if($db->error()) { $msg .= "$lang[db_invalid]\t"; $quit = TRUE; } else { $db->select_db($dbname); $msg .= "$lang[db_auto_created]\t"; } } $query - $db->query("SELECT COUNT(*) FROM $tablepre"."settings", 'SILENT'); if(!$db->error()) { $msg .= "$lang[db_not_null]\t"; $alert = " onSubmit=\"return confirm('$lang[db_drop_table_confirm]');\""; } else { $alert = ''; } if($quit) { $msg .= "$lang[install_abort]"; } else { $msg .= $lang['install_process']; } ?> One of the example is above
Comment/Reply (w/o sign-up)
wassie
Apr 14 2005, 06:13 AM
easy... you didn't run the mysql database quires (commands)
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : Problems Installing Discuz- Problems With Outlook Express
- My email configuration isn't working (7)
Does anyone have a clue as to why my outgoing email isn't working with Outlook express? I can
get incoming mail, but I'm getting an error when I try to send email. I followed the
configuration instructions, but it still isn't working correctly. I get an error everytime....
Host Problems
- Need some help (7)
Movable Type 4
- Installing (0)
Hi guys. I have a problem here installing Movable Type 4. Has anyone installed it on Trap 17 servers
before? I would need a detailed installation description, as I had many problems installing it here,
possibly due to the server behaviours at Trap 17. Thanks....
Problems?!
- {user: alex1985] (1)
Hi, I got some problems mainly related to connection issue. Firstly, I can connect to FTP server to
upload files. Secondly, I can not access cpanel account, it does not accept my registered data, the
one which is totally right. I do not what happened because it was working fine before. ...
Error Code In Subscriptions Page
- problems subscribing to topics (5)
I'm seeing some weird warning message show up at the top of my page when I go into "my
controls," then load my topic subscriptions page. At the top of the page, the following code appears
several times: IPB WARNING in_array() : Wrong datatype for second argument (Line: 2711 of
/sources/action_public/usercp.php) I'm guessing maybe that has something to do with the fact
I'm having problems subscribing to my topics and posts? Thanks in advance for your help....
Installing Apache, Mysql, Phpmyadmin Locally
- Solving the "php_mbstring.dll missing" (5)
Since Trap17's CP provide the individual site's owner with goodies like MySql and
PhpMyAdmin, chances are some will want to make use of them. Well, it's fine enough to get that
on one's host (Gee! Thanks a lot, Trap17...) Knowing how the usual geek react, it might be
expected that most people considering to make use of a database on their site will want to do most
of the tedious job of developing and testing on their own local system before sending the wrapped-up
result on their domain/subdomain. This involves four basic steps (sorry for the compuwizs, ...
Problems Adding An Email Account
- (3)
Hello, I am trying to add an email account, but I'm having problems. When I go into my Cpanel
and attempt to add an email account I get a message similar to "the account you are trying to
create, You have exceeded the maximum number of email accounts , with the password password
has been created successfully" And, of course, no email account is created. I know I am not
approaching any of my limits (Especially not on email accounts, since it's unlimited) so I'm
getting a bit confused. It may also be worth knowing that I have added email accounts in ...
Installing Custom Fonts...
- (5)
Is there any way to install custom fonts? Like I've got a few fonts here that I would like to
install for my website. Is there any way to install them? So how can I install them? Would it even
be possible to install them?...
Problems With Ftp Access
- (1)
Well topic title says its all I have problem with ftp access to my account here on trap17 so if
anyone has experienced similar issues lately. The problem is when I try to log on it disconnects me
from the server. I am using filezilla however I have tried to access trough file manager and it
works fine though it is not the same protocol. I must admit I have deleted some folders recently
however I am quite certain that it is all connected to the joomla installation and not some system
files but if there is some specified folder for ftp could you plese write down so I cou...
The Capitalization Filter
- Problems with it (0)
I've noticed that on a lot of topics, The topic's title has been maimed a little, like in
the case of "Guitar Hero Iii" or "Php And Mysql Question". The current world filter decapitalizes
all but the first letter of the word, which is capitalized. This is a problem, and although the
capitalization filter is good, I've proposed a few corrections: 1. For words that begin with a
capitalized letter, do not change the word. 2. Notwithstanding item 3, for the words, "the", "and",
"of", "in", and any other preposition or article that is 3 letters long or shorter, ...
Strange Site Problems
- (2)
This morning i ran out of credits, but I immediately got them back up to 7. All day I've been
trying my site, and it keeps timing out, and on the odd occasion comes up with a MySQL error. I was
just able to login to my cpanel, and my space usage was 550mb. Yesterday is was approximately 256mb,
and i didnt upload anything. I had to delete files to get it back down to 470, but I cant find what
has made it so big. Now I get a MySQL error on my forum. What do I do?...
Successfully Installing Joomla [resolved]
- Has anyone done it? (2)
Hello everyone, I was wondering if anyone around here has successfully installed Joomla on their
Trap17 web space. If so, what was your solution to the session save path dilema? I attempted to make
a custom php.ini with no luck and also attempted to edit the htaccess.txt file. All of these
solutions yielded no result, my session save path is still not set, and I can't properly install
Joomla 1.0.13. Should I try using 1.5 RC4? I doubt that would matter, any advice or help is greatly
appreciated /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt=...
Domain Change Problems
- (2)
Hey. Today I decided to change my default domain to a subdomain; I kinda needed a personal website
but I don't have the time to spend 5 hours waiting for the Uni.CC name servers to set up.
Anyway, I collected a couple more hosting credits to that I had enough to change it, and changed my
default domain to http://minik.trap17.com/ . It changed my new domain to go to my public_html
directory and I checked and the addon domains were still working. I got annoyed at having so many
folders in the public_html directory so I deleted all but the important folders. I then g...
Installing Theme On Smf Forum
- Need help doing it! (4)
I was wondering, and I am horrible with Cpanels mind you, how to install a new theme. I have an smf
discussion board and I decided to download a theme from the theme place for smf. So it downloads,
and appears in winrar. When I extract it, it comes with a big pile of files, with 2 folders:
Language, and Images. First question is: Do I install these somewhere in the 'File manager'
in cpanel? Ok if yes: Where? Third: Do the main files, language , and image go in different
places? Fourth: There is about 4584305834098 image files, is there a quicker way to get ...
Is The Server Ok?
- FTP and loading problems. (1)
At the time of writing this (01:12 GMT) I seem to have problems FTPing to my site (Time out
problems), and, to a lesser extent, page loading problems. I just wanted tocheck whether the servers
are OK or whether the problem is on my end. Please let me know if you can. ...
Suspended Account Problems
- (4)
I had to go on a trip with my school and my hosting account became suspended while I was away. I
have posted and my account has been re-activated, but I can't get rid of the redirect. Current
Redirects .* http://xisto.com/suspended.page/ (permanent) It shows that ^^ and I've tried
several times but I can't get rid of it. Any help please?...
Installing Ffmpeg
- (7)
Hi. Iīm having a real big problem installing ffmpeg on my site... Can any of you guys explain to
me (as if I was 10 years old) please... I would like to test it on one of my sites here @ trap 17
but I canīt install it... Thanks in advance...
Installing Joomla And Shell Question
- i get error when i trayed to install joomla i get some (0)
i get error when i trayed to install joomla about the default premising check this out i have set
the file premising to 777 and to 755 and the same problem what to do where to fix this
http://zam.trap17.com/earn-money/installation/index.php and in my hosting plans i did see shell
access but i cant it at my cpanel why ??? ---UPDATE--- will i have been able to install joomla
thanks but i still asking about the shell account double post merged ...
Control Panel Will Not Let Me In [resolved]
- Login problems (4)
I am frantically trying to get into my Trap 17 control panel. I tried to get into the login screen
by typing: http://www.trap17.com:2082 and indeed, the login screen comes up. I then type in my
username (mrdee, or should it be my trap 17 domain)? I then also enter my correct password, what
hapeens then is that the login screen keeps popping up again. I have no idea what I am doing wrong.
Can anyone help me please? Thanks in advance. ...
File Manager Problems
- (3)
Alright, I figured out the edit html windows need to be refreshed each time opening them for them to
show the last updates so you don't just work off the old, un-updated version and mess everything
up (which really should get fixed). The problem that most annoys me though is when I try deleting
files and the File Manager doesn't delete them. I try uploading updated files over them and it
doesn't update them, but just keeps the old ones there. It's getting really annoying. And
when I try deleting stuff from the Trash Can, it never deletes it. Sometime...
Problems With Free Domain Name
- I have problems with registration of free domain name (6)
OK i will firstly say that I have followed all the procedures that were written in the post about
Free Domain Name. And now I have problem I have already done it with the computer host from the link
in the how to register and apply for domain name and I stopped when I should pay now next step was
to go to free web hosting menu and click on the Free Web Hosting: Application Form and what happens
I get message which tells me that my application is waiting for approval but I didn't filled in
the application. Can anyone help me about this and if I am making mistake to c...
Bandwidth Count Up
- Problems in cpanel (6)
Currently my cpanel bandwidth is not counting anything! And while I am quite happy to keep this
option... (unlimited bandwidth) I have a feeling that bandwidth IS getting registered somewhere, but
I am not getting it recorded in my cpanel. I would be glad for any assistance, cheers...
Having Problems With Installing Ipb 2.3.x
- I need help please. (2)
I was trying to install IPB 2.3.3 for my forums database and this is the error message I got as I
was starting the installation. mySQL query error: CREATE TABLE ibf_admin_logs ( id bigint(20) NOT
NULL auto_increment, act varchar(255) default NULL, code varchar(255) default NULL, member_id
int(10) default NULL, ctime int(10) default NULL, note text NULL, ip_address varchar(255)
default NULL, PRIMARY KEY (id) ) TYPE=MyISAM; SQL error: Table 'ibf_admin_logs' already
exists SQL error code: 1050 Date: Wednesday 22nd of August 2007 02:25:45 AM I hav...
Installing Easymod
- (3)
Hello! I have successfully installed a phpbb2 forum on my site... (HORRAY)... but now I am trying
to install EasyMod for it, but it is not working correctly. Has anyone had success with this? If
so, can you give me step-by-step instructions, maybe I am doing something wrong? I fill out
everything, including login information to my ftp, and get this message: QUOTE Testing FTP
access... 1) Logged in successfully FTP ERROR: could not cd to public_html/forum/phpbb2 You
successfully logged into the server, but could not change direcory (CD) to the easymod directory....
Installing Ipb
- (1)
hi, i am trying to install ipb v 2.2.0, but when i go to the url where it is at (after i went
through setup) i get this error: QUOTE IPB WARNING array_merge() : Argument #2 is not an
array (Line: 473 of /sources/classes/class_session.php) IPB WARNING Invalid argument supplied for
foreach() (Line: 504 of /sources/classes/class_session.php) IPS Driver Error There appears to be an
error with the database. You can try to refresh the page by clicking here So i dont know whats
going on. if some1 could help, that would be great....
Installing The Simple User System.
- (6)
Ok well I have tried installing the simple user system. Now when I try to register I get the
following errror Unknown column 'id' in 'field list' How can I fix this? I really
must know!...
Installing Phpbb Forum On My Site?
- (5)
Hello! I was just wondering how I go about installing the phpbb forum on my site. I assume I go
somewhere from the CPanel? I think someone told me that the CPanel has something that installs it
for me automatically. Thank you!...
Addon Domains. Having Problems?
- My addon domains are not showing in the control panel. (2)
Hi. I just want to find this out before I submit a support request. It may probably be a global
problem /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0"
alt="rolleyes.gif" /> I have an addon domain in my account which is showing fine in my addon
domains section, however, the emails and subdomains associated with this domain just disappeared. I
can't add subdomains to the this addon domain either /sad.gif" style="vertical-align:middle"
emoid=":(" border="0" alt="sad.gif" /> Is this just my account or it's global?...
Need Help Installing Smf
- It's not finding the files I upload. (5)
I downloaded the zip version of the SMF, from www.simplemachines.org I am using SmartFTP, to upload
the files. I created a folder, named Forum, and uploaded all the SMF files there. On the
simplemachines site, it tells me to type my site url followed by /forum/install.php, or whatever the
directory I installed it on is called. I tried that, and I come up with this on the page. Not
Found The requested URL /forum/smf1.1/install.php was not found on this server. Additionally, a 404
Not Found error was encountered while trying to use an ErrorDocument to handle the re...
Having Trouble Installing Smf
- (3)
am i allowed to upload a forum? one that is all coded in php, not a service, a completely scratch
forum. the company who made the templates is simplemachines and its an smf. it just documents, i
just need to know if i can use it. also, it doesnt let me access files i have uploaded......
Looking for face, problems, installing, discuz, board
|
Searching Video's for face, problems, installing, discuz, board
|
advertisement
|
|