My project works before in Ubuntu, but recently I moved it to Mac. After configuring Apache, the website finally doesn't give any errors. But the browser only displays:
$system_path = '../system'; $application_folder = '../application';
No matter what parameters I append the url, it gives the same result like above. When I installed CodeIgniter in Ubuntu, I got the same problem, eventually I solved it, but I forgot how to solve it. Please help me.
Related
i have installed php storm ide, now i have download smarty, and followed this tutorial
https://memohnish.wordpress.com/2009/05/19/smarty-installation-on-wamp-and-xampp/
now i have created a test project in PHP storm, then created a php file.
As soon as i include a smarty file, browser shows an error
i have tried everything, nothing works, previously i have used the same method and everything used to work fine. Now, browser shows error.
second image shows php.ini file, please tell me if there is any error....
i have included the smarty libs directory as well.
dont know what to do...
Add this to the php file just before requiring Smarty and you probably will be able to see the problem description
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
I got a problem. My XAMPP Server does not update the files. It keeps showing me the 'Welcome to XAMPP' webpage which is not even in the htdocs directory anymore. I've tried different devices and it keeps showing me the default page. No errors or something. I hope anyone could help me. Thanks in advance.
Got it working. Thanks to Carcigenicate. For some reason I installed XAMPP twice, and when I opened the htdocs folder via XAMPP it took the wrong one. If anybody got this problem check for double installs.
I install Moodle on xampp server. its installed properly . but when I try to logout or any other activity Firefox shows error, The page isn't redirecting properly. I clear cookies of the browser but it didn't work. I reinstall Moodle but I got the same issue. How I can resolve this problem? anyone please help me out.
Please try the following. It may help you to solve this issue.
Manually clear the cache in the Moodledata folder.
open admin/index.php file and comment the line
redirect("index.php?sessionstarted=1&lang=$CFG->lang");
Hope this helps.
This solved my issue for err_too_many_redirects
Just Delete all data from moodledata folder ( C:\xampp\moodledata )
https://moodle.org/mod/forum/discuss.php?d=230067
I manually delete all files inside sitedata\cache
It is work for me
This solved my issue with regards to redirecting of moodle.
navigate to: http://localhost/moodle/admin/settings.php?section=sessionhandling
on the page displayed you will see a field with a lable "Cookie prefix" in that field type "moodle"
Save Changes
type: http://localhost/moodle to test
5.SMILE if it works :-) !!!
NB: This might not be the solution to everyone but try it.
I recently changed to ubuntu OS and my captcha is no longer working. But it works fine in linux server... I am using codeignitor.
Error in imagettfbbox function i am getting this error...
Several things could go wrong.
1. Permissions for the img_path must be 777 or change the owner to www-data in order to gain write privs.
2. The font path for using the write font must be correct.
3. In order to use the captcha library you should have php gd extension installed.
4. And the last thing that could go wrong is the url path for the captcha image. Maybe the captcha is generated successfully but you are not accessing it correctly from the url.
May be your php interpreter doesn't configured with php, also try to remove browser cache.
I was facing the same problem. On shifting to ubuntu server captcha images stopped working. And changing the font path from 'monofont.ttf' to './monofont.ttf' worked for me. Just to be on the safe side, keep your font file and captcha script file in the same directory.
I've made a clean install of Joomla and all settings were done correctly. However I'm not using a domain, instead I'm using a temp URL (http://IP.ADDRESS/~username/) with Joomla installed in the root public_html directory. But when I visit, no images or styles show up... and I noticed in the source all URL's are trying to use JUST http://IP.ADDRESS without the /~username/ ... so nothing is pointed in the right place.
How can I fix this?
Open configuration.php located in the web root.
Find the row that says var $live_site = '';
If the var is not empty, try making it so and save it.
If it's already empty, try typing in http://ip.address/~username/