Error faced during install moodle - moodle

I am a beginner in moodle. I download moodle 2.9.4+ version. Then I extract file from the zip file and execute the application start moodle. It starts running properly, but when I enter the IP address 127.0.0.1 in my browser it shows an error ERR_TOO_MANY_REDIRECTS. To resolve the problem I have repeatedly cleared the browsing data from the chrome, but the problem is same. It is redirected to wampserver localhost. This problem is same even after uninstalling and removing wamp server from my computer.Please help me out of this problem.

Try renaming / deleting the cache folder in the moodledata folder.
See : https://moodle.org/mod/forum/discuss.php?d=230067

Related

Typo3 CMS throws Error after successful installation

Once I finish installing Typo3 locally on my system using latest xampp on PHP 8 version. Website stops working. Installation gets completed successfully, but once installation is completed, whole website stops working. This is strange. Every time I tried installing latest Typo3 version, 11.5, same issue happens.
Depending on the kind of installation you're likely missing the correct server configuration. Usually it's done by a .htaccess file in the web-root of the installation.
An example .htaccess file, which in many installations never even needs adjustments, is located inside your installation, you just have to copy it in the webroot and rename it to .htaccess. It's located here:
typo3\sysext\install\Resources\Private\FolderStructureTemplateFiles\root-htaccess
In your Screenshot, you are using Port 81 (localhost:81).
I suggest using the default Port 80 and "127.0.0.1" instead of "localhost" (http://127.0.0.1).
Using Port 81 would need changes in your firewall configuration in many cases.
Additionally, your folder structure seems wrong ("/typo3_src-11.5.12/typo3/login?...").
Your backend should be reachable under "/typo3/" or "/typo3/index.php".
If you are using a legacy installation (without composer), the folder /typo3_src-11.5.12/ should be one level above your web server's document root, as stated here:
https://docs.typo3.org/m/typo3/tutorial-getting-started/main/en-us/Installation/LegacyInstallation.html

After I update to MacOs Catalina MAMP stop working

I have a folder on my Desktop named work where I keep all my php projects. I use MAMP and all projects are set to work on virtual hosts, for example, if I have a project named test I access this project on this URL http://test.dev.
Everything went ok until I updated to macOS Catalina when I started to have this error.
(1)Operation not permitted: Can't open directory for index: /Users/username/Desktop/work/php/development/projectname.
I set the permissions to the work folder and all subfolders to be read & write for my user and staff group, I tried all the terminal permission
commands: chmod 777, 755, etc.
I had the same problem like you, and I spent many days to solve it by doing:
stop MAMP, then open terminal and type
sudo /Applications/MAMP/bin/startApache.sh -> then Enter
and then type your admin password to give apache full privileges to start apache. (this way can let MAMP read any files on your Mac, include external drives)
now you can open MAMP and see that Apache is started, then click Start on MAMP app to start MySql too.
I've solved doing the following operations:
Quit MAMP and all the applications that are using mySql and Apache Server (stop all the instances)
Go to System Preferences, Systema & Privacy, Full Disk Access Tab
Click "add" and go to /Applications/MAMP/Library/bin and add apachectl
Run this command from the terminal: sudo /Applications/MAMP/bin/startApache.sh\
Open MAMP and press the Start Servers button
now you should be able to start your localhost app
This could be due to wrong permission given by the new MacOS Catalina permission manager. A possible way to solve this issue is to check if the folder in which the project is stored can be accessed by your Application.
To do this you have to:
Go to System Preferences
Go to System & Privacy
Go to Files and Folders
Be sure that the folder of your project is checked in the subsection concerning your Application
I hope this could solve your problem.
Prior to the steps below I added Full disk access to MAMP under the Security and Privacy Folder.
The steps I did after:
Stop MAMP
Open terminal
Then type: /Applications/MAMP/bin/startApache.sh
Start MAMP
Incase it wont work, try on the terminal: /Applications/MAMP/bin/stopApache.sh and then /Applications/MAMP/bin/startApache.sh
I had a similar problem with XAMPP. Apache just lost access to my external drive, which I included via a symlink. Even giving "Full Disk Access" to the httpd webserver didn't help.
The final solution was to start Apache with the sudo command:
sudo Applications/XAMPP/bin/apachectl start
did the job for me. Please note that
sudo apachectl start
would start the Apache that comes with macOS and thus wouldn't be used with XAMPP (and MAMP as well, I guess).

How to fix Malformed help URL while opening ACC ATG?

I'm using jboss + mysql for running ATG. I'm trying to open Admin Control Center through dyn/admin. However, I'm getting malformed help URL before I get login form. Once I logged in, I'm getting multiple alerts of same exception but with different help ids.
Did any one face this issue and found a workaround?
This issue has been observed because of not having protocol.jar in classpath while starting jboss server. You can follow this workaround to fix the issue.
Copy %DYNAMO_HOME%/DAS/lib/protocol.jar to C:\lib or any folder that is easily accessible to you.
Open Standalone.conf.bat
and add following line in the file.
set "JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs=C:\lib"
Open the Jboss server after the above update is done. The error will be resolved.
Weblogic:
Copy the protocol.jar form DAS\lib to your domain lib folder and restart weblogic.
Ex: C:\Oracle\Middleware\user_projects\domains\base_domain\lib

phpmyadmin blank screen after installing Zend server

I installed LAMP on Ubuntu 12.0.4 LTE. Then I installed phpmyadmin. Everything was good. I used phpadmin to do lots of DB administration....
Then I installed Zend CE server. Now, phpmyadmin throws a blank page. No login screen.
So, I reinstalled my VPS in the same sequence again. No luck. Same behavior.
This time, I installed Apache, Mysql, PHP and Zend server in that order. Then I installed phpmyadmin....Unfortunately, still blank page on phpmyadmin.
Any help?...Thanks in advance.
First, for all those that posted their suggestions to my above issue, thanks!.
Of course, I had to dig deeper into forums and threads to find the specific root cause and solution for this issue.....and after spending few hours...finally, I resolved it!. Thanks to the following bug discussion link on php.net.
https://bugs.php.net/bug.php?id=25876
I tired many suggested fixes there but they didn't help. The suggestion that finally fixed the problem was pasted below ( so that let the credit go to the right owner):
[2011-03-03 12:18 UTC] comments at htmlcompressor dot com
If you are gettin the following error:
"Fatal error: session_start(): Failed to initialize storage module: files (path: ) in...."
Make sure that you have setup the session save path in your php.ini:
session.save_path = "/tmp"
which seems to be disabled by default.
I swear using Open Source software is tough!. I have spent whole day on this issue alone. My goal was to build some software and I have yet to get to it!!.

failed to load RSL textLayout

I just installed gentoo linux amd64.
on that I installed eclipse 4.2M5 with FD5 for flex development.
after compiling my project, when I execute it i get the following in the log file:
Error #2046: The loaded file did not have a valid signature.
Failed to load RSL http://fpdownload.adobe.com/pub/swz/tlf/1.1.0.604/textLayout_1.1.0.604.swz
Failing over to RSL textLayout_1.1.0.604.swz
Error #2046: The loaded file did not have a valid signature.
i use FD5 with Flex 4.1A.
any ideas why it happens ?
update:
it seems that when I close and open my project I am able to execute my project once. the 2nd time that I execute the project on my browser I get the error and I need to close and reopen the browser to execute it again.
First of all thank you for all of your comments.
I finally was able to properly resolve the issue.
it seems that flash saves cache info at ~/.macromedia
(~ for home dir, for example if the user is ufk so it translates to /homeukf)
all I need to do is to delete that folder, since then I am able to refresh my app on the browser without any problems.