Accessing Codeigniter in BitNami Wamp stack - codeigniter

I've just downloaded and installed Bitnami's Wamp Stack 5.4.16.0 which includes Codeigniter on a machine running Windows 7 Enterprise. The installation was successful and both Apache and MySQL servers are running, as per the green ball and the "running" status in the BitNanmi console.
I checked BitNami's wiki at http://wiki.bitnami.com/Components/PHP_Frameworks/CodeIgniter and tried following the steps to enable the sample application, but it doesn't work because:
a) the line "Include "installdir/frameworks/codeigniter/conf/codeigniter.conf"" doesn't exist in the http config file
b) when I add the line "Include "installdir/frameworks/codeigniter/conf/codeigniter.conf"", changing the installdir to my installation directory, the file codeigniter.conf is missing on the folder indicated on the path. In fact, I can't find the file codeigniter.conf anywhere
As a result, I can't access codeigniter from my localhost/codeigniter as suggested in the wiki.
Do you guys know how to run Codeigniter on BitNami's Wamp stack? And if yes, can you let me know how to do it?
Many thanks in advance, Dinis

Ok guys,
this is a misconfiguration in BitNami and the guys at their forum were awesomely quick replying back. Here are the steps to make it work:
Go to your installation directory and start manager-windows.exe
Click "Configure" button
Click "Open Conf File" button and this opened the httpd.conf file
Add the line Include "C:/BitNami/wamp/frameworks/codeigniter/conf/httpd-prefix.conf" and save the changes
Restart Apache in the application manager
Original thread: http://answers.bitnami.com/questions/14148/accessing-codeigniter-in-bitnami-wamp-stack

Another thing mentioned today is to fix this by going to
/Applications/mampstack-5.4.16-0/apache2/conf/bitnami/bitnami-apps-prefix.conf
and uncommenting the line:
Include "/Applications/mampstack-5.4.16-0/frameworks/codeigniter/conf/httpd-prefix.conf"
Hope they get the docs updated soon.

Related

Cannot find phmymyadmin.config.php in Mac

I want to login in Mac without using a password for Phpmyadmin
I can't login in my mac and I can't find the place to edit the configuration as mentioned in the following question:
Can anyone confirm that phpMyAdmin AllowNoPassword works with MySQL databases?
With the help of sal answer, the path for my macSeiora is
/usr/local/etc/phpmyadmin.config.inc.php. thank you guys
Check in:
.../phpmyadmin[version#]/config.inc.php
The '...' will depend on how you install the app. It might be in the webroot or within MAMP or XAMPP etc. Some more phpmyadmin explanation here.
If you simply downloaded the official source from phpmyadmin.net and uncompressed it in your web root, you'll have to create the config.inc.php file yourself (in the main phpMyAdmin folder that you've uncompressed). You can see more detailed instructions in the documentation: https://docs.phpmyadmin.net/en/latest/setup.html#manually-creating-the-file
If you've used some prepackaged kit such as MAMP or XAMPP, they sometimes move the file around, but their documentation should provide a pretty clear indication of that.

Jenkins Page Not Loading. Apache2 Ubuntu Page Starts Up Instead

I'm new to DevOps and build/automation tools. I installed Apache Maven and Jenkins, but the Jenkins dashboard is not popping up. In other words, I should be seeing this:
But I'm instead seeing this:
I found a similar question here, but I was unable to understand what to do: How to access Jenkins dashboard locally when it is installed on staging server?
From what I understand, I need to make Jenkins open up on a different port, but I'm not sure how to do this. I checked in services and I can confirm that Jenkins is in fact running.
Ok, so I figured it out, but I still don't understand what that Apache page is. For anyone wondering how to fix the issue with the dashboard not popping up:
STEP 1: I was exploring the installation directory and found a file called jenkins.xml with the line --httpPort=8080.
STEP 2: It wouldn't let me edit and save the file so I dragged it to my desktop where it let me make changes. I changed 8080 to 8082, saved, and then placed the file back in the installation directory.
STEP 3: I didn't notice any changes until I restarted the Jenkins service and it's showing the dashboard now.
I still would like to know what that "Apache 2 Ubuntu Default Page" is about.

Runnig Yesod Compiled Project on FpComplete using Amazon EC2

Hi sorry about this issue, i'm run out of ideas of how to access my deployed project on our main domain server.
By following the Guidelines provided in the GitHub I installed properly the keter, put the .keter file in the /opt/keter/incoming path but once i access it on the browser it always see the nginx page.
Also I use fpcomplete IDE for my project and I just download the file executable file there.
Thank in advance
I've solve this by following the instruction given to me on Github

Joomla administrator redirects to public site

I have a Joomla site running on a windows machine. The site was at 1.6 when some update requests came in. I decided to update the site, but the automated process didn't work, so I started FTPing the files up there manually.
I followed the instructions for the manual upgrade at http://docs.joomla.org/Upgrading_1.6.5_to_1.7 once I got the site to 1.6.5, but my problems had already started before that.
Now when I go to mysite.com/administrator most images are not there and when I try to log in I get kicked up to my site root rather than the /administrator folder. I took the opportunity to look at the code and none of the image src attributes or the form action attributes include "/administrator".
Soooo I need a little advice as to why this is happening. I would rather not have to restore from my backup and start over at 1.6. I was kinda hoping for this to be my first Joomla 3 site. Thanks in advance.
You said that you had trouble with updating Joomla via the admin panel, however did you check if the folders were writable? Site -> System Information -> Directory Permissions Always check this page once you have installed Joomla as it is the reason why a lot of people are unable to install updates or normal extensions.
You then mentioned that you had to upload the files manually via the FTP, however this is not requires. All that is required it to upload the update.zip to the foot of your Joomla site and unzip it.
As for a proper answer, May I suggest that you first update to the Latest version of the 1.6 series (1.6.6), then you download a fresh copy of Joomla 1.6.6, unzip the "administrator" folder, zip that folder, upload via the FTP to your Joomla root folder, then extract it. This will override all the default administrator files.
In the end I had this client move their Joomla install off Windows and onto a Linux machine. Things were just getting worse with the install and I threw in the towel. Thanks to Lodder for trying to help.
This can happen if you are using the JSecure plugin. It requires a token in the URL to enter the admin panel, for example:
http://www.yoursite.com/administrator?token
Explanation:
http://forum.joomla.org/viewtopic.php?p=2198164
I was able to fix this by removing the value that I had in the $live_site variable in the configuration.php file. I am also running this on a Windows server.

Magento Installation Issue (Install Not Being Found)

I am currently trying to install the latest version of Magento on a virtual machine running the latest version of Ubuntu Server. Ubuntu has been correctly setup with Nginx and PhpMyAdmin. The problem I'm running into is to do with the installation of Magento itself. I have the magento CMS in a /magento/ folder under the root directory of my sites folder "magento.dev" but when I go to install the CMS by entering "http://magento.dev/magento" I get redirected to "http://magento.dev/magento/index.php/install/" which I take is normal and shows the rewrites are working but the problem is I get a link appears to be broken error. I have also tried "http://magento.dev/magento/install.php" and several others but no luck.
I have edited the .htaccess to reflect magentos root folder by un-commenting "RewriteBase /magento/".
I have searched extensively for fixes to this issue but havnt really found anything of much use as of yet.
Hopefully you guys might be able to help me out.
Cheers.
the syntax for nginx configuration is different(but more clean) than apache.
you probably might be using apache2's configuration for nginx
PS : nginx configuration files are generally /etc/nginx/sites-available/websitename
look at this question, it might help you. https://serverfault.com/questions/24243/nginx-support-for-htaccess-rewrite-rules-differences-from-apache

Resources