Installing Moodle on Network Solutions

Installing Moodle on Network Solutions

by James O'Connor -
Number of replies: 13
After some problems contacting Network Solutions and getting the ini.php to work, I find the dreaded data directory problem -

/data/20/1/128/99/1780425/user/1925684/mooddledata

I've set up a seperate directory in htdocs to palce data and had a looking in config-dist.php.

My problem is that I'm not sure of the path to point config to the directory. i.s would it be

/data/20/1/128/99/1780425/user/1925684/examplefolder/moodledata ?

or would it be the url?

Stupid I know, but I'm just a teacher!
Average of ratings: -
In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'm not familiar with the "dreaded data directory problem"... however..

The location for 'moodledata' ($CFG->dataroot) is *definitely not* a URL. The paths you have given are, at least, possible. What is correct is another matter. That rather depends on where you created the directory called moodledata and the path to it on the server.

That's just something you need to know... not sure how to be more helpful sad You would need to talk to NS's support people if you are stuck.
In reply to Howard Miller

Re: Installing Moodle on Network Solutions

by James O'Connor -
yes the folder is there on the server, outside the moodle directory. However, after tryiong several different way to edit the

/data/20/1/128/99/1780425/user/1925684/moodledata

given in installation page for 'datadirectory' Whatever I try (including the one provided in the other post) I get -

"The 'Data Directory' you specified could not be found or created. Either correct the path or create that directory manually."

Can anyone explain to me the "/data/20/1/128/99/1780425/user/"
In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
That's just the path to your user area on the server. In reality it's probably some complicated array of shared storage but you don't care about that as long as it is correct.

The other thing you can get wrong is the permissions on the moodledata folder. They must be both readable and writeable by the web server user. Again, I can't tell you what that might be but it is probably safe enough to make it read/write for 'everyone'.
In reply to Howard Miller

Re: Installing Moodle on Network Solutions

by James O'Connor -
Thanks, once I understood it was the path it seemed easy. although I wanted to call the directory folder something other than moodledata, this didn't seem to work!

Now I am stuck with -

Warning: mkdir() [function.mkdir]: Permission denied in /data/20/1/128/99/1780425/user/1925684/htdocs/moodle/lib/setuplib.php on line 167
ERROR: You need to create the directory /data/20/1/128/99/1780425/user/1925684/moodledata with web server write access

at the moment this is coded cd rwxrwxrwx or 0777



In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Well that's interesting....

It's possible that PHP on this server has been restricted so that it cannot create new directories. The permissions are fine (as long as it's true).

It would be useful to see your phpinfo screen to look for any odd settings. Can you create a small file called test.php in the root of your moodle install containing this...

<?php phpinfo(); ?>

You can then 'execute' it from your browser.... http://path.to.your.host/moodle/test.php, or whatever it is. A screen dump or the direct link please smile
In reply to Howard Miller

Re: Installing Moodle on Network Solutions

by James O'Connor -
Thanks for your time Howard,

I've just done that and run it through the browser and have an empty screen!

http://www.ieltsinternational.com/moodle/test.php

I'll try it out of the moodle folder again.


No change here. I'm guessing the test.php should have reported on the server php set up?

ah!, I've just notices you meant to include a few lines of scipt to test eh server, but they are not in you post.

OK I have it now.
In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by James O'Connor -

This is the information you asked for?

Configuration

PHP Core

Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags Off Off
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
disable_classes no value no value
disable_functions no value no value
display_errors On On
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting no value no value
expose_php On On
extension_dir /usr/services/vux/php5/lib/php/extensions/no-debug-non-zts-20060613 /usr/services/vux/php5/lib/php/extensions/no-debug-non-zts-20060613
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/services/vux/php5/lib/php .:/usr/services/vux/php5/lib/php
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time -1 -1
memory_limit 128M 128M
open_basedir no value no value
output_buffering 0 0
output_handler no value no value
post_max_size 8M 8M
precision 14 14
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir /usr/local/php/bin /usr/local/php/bin
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off

bcmath

BCMath support enabled

bz2

BZip2 Support Enabled
Stream Wrapper support compress.bz2://
Stream Filter support bzip2.decompress, bzip2.compress
BZip2 Version 1.0.5, 10-Dec-2007

calendar

Calendar support enabled
In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by James O'Connor -
Well, this seems strange, I;m still getting this message

Warning: mkdir() [function.mkdir]: Permission denied in /data/20/1/128/99/1780425/user/1925684/htdocs/moodle/lib/setuplib.php on line 167
ERROR: You need to create the directory /data/20/1/128/99/1780425/user/1925684/moodledata with web server write accessScroll to next warning

But there are two new folders in the moodledata folder and an htaccess file

Therefore it must be writing to the file. no?

So why the error messages?

In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I'm down to the wire here. It sounds like some sort of weird security setting. You didn't include the top bit of the phpinfo dump to show what sort of system it is but this is starting to sound like the sort of weirdness you get with 'SELINUX' on Fedora.
In reply to Howard Miller

Re: Installing Moodle on Network Solutions

by Clarence Simms -
Hi, I was wondering if you would be able to help me out. I also have Network Solutions, I was able to install moodle, but I get the following

You need to create the directory /data/16/1/159/61/1485713/user/1597621/moodledata with web server write access

I actually manually created a folder called data and had to place it in within my root folder as Network Solutions does not allow you to place folders outside the root. Even though this message was displayed I was able to complete the installation. I called Network Solutions and they changed the permissions, but the message still pops up.
If anyone can help or point me in the right direction, I would appreciate it. Thanks in advance.


Entire error:
Warning: mkdir() [function.mkdir]: Permission denied in /data/16/1/159/61/1485713/user/1597621/htdocs/moodle/lib/setuplib.php on line 167
ERROR: You need to create the directory /data/16/1/159/61/1485713/user/1597621/moodledata with web server write access
In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by José de Jesús -
Peace
James:

Your you can you are going and it to obtain.  sonrisa You must remember that the servants have different forms to manage the folders. It tries:

root/htpdocs/yousite.com/moodle

root/htpdocs/yousite.com/mooldedata

 I gave how it was to you. estupendo

Greetings

José de Jesús

Average of ratings: Useful (1)
In reply to José de Jesús

Re: Installing Moodle on Network Solutions

by Ortencia Sandoval -

Oh, yes. Some use

wwwroot/htpdocs/yousite.com/moodle

wwwroot/htpdocs/yousite.com/mooldedata

Greetings

In reply to James O'Connor

Re: Installing Moodle on Network Solutions

by C Barrain -
James,

I am using Network Solutions and I was able to install Moodle, but I have a big problem, the installation did not ask at any time for the administrator user and password, to be entered. also I entered "admin" "admin" as user login and password. It did not work.

How do I login to moodle?

Here is the post:
http://moodle.org/mod/forum/discuss.php?d=152108

Please advice