moodle/lib/outputlib.php on line 31

moodle/lib/outputlib.php on line 31

by saeed sedaghat -
Number of replies: 4

hi guys


i have a error in moodle 



Warning: require_once(/home/paydari1/public_html/test/moodle/lib/outputcomponents.php): failed to open stream: No such file or directory in/home/paydari1/public_html/test/moodle/lib/outputlib.php on line 31

Fatal error: require_once(): Failed opening required '/home/paydari1/public_html/test/moodle/lib/outputcomponents.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/home/paydari1/public_html/test/moodle/lib/outputlib.php on line 31


how do fix?

Average of ratings: -
In reply to saeed sedaghat

Re: moodle/lib/outputlib.php on line 31

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

Is this on every page or are you trying to do something when it appears? 

Average of ratings: Useful (1)
In reply to Emma Richardson

Re: moodle/lib/outputlib.php on line 31

by saeed sedaghat -

hi


i want install moodle.

in page http://1paydar.ir/test/moodle/install.php



In reply to saeed sedaghat

Re: moodle/lib/outputlib.php on line 31

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
You don't actually need to open install.php.  You just need to point a browser at the directory and it should do the rest.  Just go to http://ipaydar.ir/test/moodle and see if that initiates it.  If not, redownload and copy over the moodle folder, make sure you have your database and moodledata pieces in place and try again.  Also make sure permissions are correct on both moodle and moodledata folder.

Follow the installation directions found in the documentation section. 
In reply to saeed sedaghat

Re: moodle/lib/outputlib.php on line 31

by Adam Jenkins -
Picture of Plugin developers

Hi Saeed,

I took the liberty of accessing your link above minus the /install.php. IT doesn't look like you have the core files you need to install Moodle. I recommend you re-download your moodle code. You can do this using git (recommended) entering the following command on your server:

git clone --depth=1 -b MOODLE_28_STABLE --single-branch git://git.moodle.org/moodle.git

(source https://docs.moodle.org/28/en/Installing_Moodle )

OR you can download the zip file and unzip it to your server.

https://download.moodle.org/

Good Luck!