TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

MoveableType installation!

Page: 1 2 Reply
Dec 14th 2004#163833 Report
Member since: Aug 27th 2002
Posts: 672
Hello,

I have a few questions about this installation, since I'm pretty new to all these things. I read the manual on the moveabletype website and they talk about the "perl" folder... what's that? and is it supposed to be in my /var/www/cgi-bin/ directory?

I don't know where to put these files. Can I just create a new folder in that directory and put everything in there?

I feel so dumb right now, but I gotta get through this stage, lol

thanks for any help, I need it bad :(
Reply with Quote Reply
Dec 14th 2004#163843 Report
Member since: Mar 18th 2001
Posts: 6632
on most servers you won't need to specify the perl directory, or you can just leave it at the default. many servers are setup to execute perl scripts in any directory, so it probably won't be an issue. you can create a new "blog/" directory or something if you want, or just upload everything you unzipped from MT into your root directory. Make sure to upload it with ASCII or Binary like it tells you in the instructions, or it won't work. Also make sure to set your permissions correctly. The rest of it is pretty straightforward.
Reply with Quote Reply
Dec 14th 2004#163844 Report
Member since: Aug 27th 2002
Posts: 672
Do you mean if I make a "blog" folder, I don't have to put it in the/var/www/cgi-bin/ directory?

Also when I change the "#!/usr/bin/perl" I only need to replace it by, for exemple, "/var/www/html/blog/"?

And I don't know what you mean by uploading the files with ASCII or Binary.... Is it a program made for that or something different?

Sorry about all these questions, I just need to get start. Btw Deker, did you get my email a few days ago?
Reply with Quote Reply
Dec 14th 2004#163847 Report
Member since: Mar 18th 2001
Posts: 6632
leave #!/usr/bin/perl as it is. It's probably correct already.

you don't have to put stuff in the cgi-bin directory if you don't want to in most cases. but it depends on your server. try just uploading everything to a blog directory and see if it works.

your FTP program should have the option of uploading in ASCII or Binary. Upload the images in binary and everything else in ascii. most ftp apps will auto-detect this, but sometimes they are wrong.

yeah i got your email, but haven't been on msn much lately.
Reply with Quote Reply
Dec 14th 2004#163848 Report
Member since: Aug 27th 2002
Posts: 672
Alright, thanks alot man. I'll give it a try.
Reply with Quote Reply
Dec 14th 2004#163852 Report
Member since: Aug 27th 2002
Posts: 672
I got it to work... well partially

after I initialized the script, I got this error message:

Loading initial data into system...

An error occurred while loading data:

Bad ObjectDriver config: Your DataSource directory ('/cgi-bin/db/') does not exist.


I did create this folder in that directory though, so I don't see what's the problem.

btw, I installed the script in my cgi-bin directory, because otherwise it wouldn't execute the damn thing
Reply with Quote Reply
Dec 14th 2004#163853 Report
Member since: Mar 18th 2001
Posts: 6632
which database are you using? You using flat-files or something? That's going to be SLOOOOW. Use MySQL if you can.
Reply with Quote Reply
Dec 14th 2004#163856 Report
Member since: Aug 27th 2002
Posts: 672
ok, I'm trying to do that. But I'm stuck at this stage:
database_name is the name of the SQL database where you wish to store your data


Do I have to create a folder wherever on my website or do I have to use the data folder located at "/var/www/data/"

or do I set my database in the folder at this place "/var/lib/mysql/"?


:confused:
Reply with Quote Reply
Dec 15th 2004#163862 Report
Member since: Aug 27th 2002
Posts: 672
ok, I got my database directory setup.... but for some reason I still got the same error... do I need to put something at that place ? here is a quick view of the mt.cfg

# The filesystem path to the 'db' directory, where your MT database
# files are stored. You will probably need to change this when you
# first install MT; instructions for doing so are in the Installation
# Instructions, in INSTALLING THE MOVABLE TYPE APPLICATION CODE, Step 8.
# Consider using the MySQL configuration, below.

DataSource ./db

## The following options are commented out: to uncomment an ##
## option, remove the '#' at the beginning of the line. ##
## First, however, make sure that you understand the purpose ##
## of the configuration setting. ##
#
# Configuration for MySQL databases. Add the name of your database
# and the username that you have for logging in to that database
# below. The password needs to go in the file mt-db-pass.cgi.
#
# ObjectDriver DBI::mysql
# Database XXXXXX
# DBUser XXXXX
# DBHost localhost



So I filled where there are x's and everything, but do I still need to put something where there is that ./db? Cause it seems to only see that
Reply with Quote Reply
Dec 15th 2004#163863 Report
Member since: Mar 18th 2001
Posts: 6632
is that the default setting for the datasource thing? 'cause mysql isn't really a directory at all... you may need to comment out that whole line, not sure.

in the database part you just put the name of your database. which could be anything, depending on how your host is setup.
Reply with Quote Reply
Page: 1 2 Back to top
Please login or register above to post in this forum