MyBB Forum Setup - php

I'm currently trying to setup myBB forums on my website. I go to the install directory but it just shows all my files instead of showing the setup to install. Also, when I try to open the install/index.php, it just says file not found although you can clearly see that it's there. If you could help me out, it would be greatly appreciated.
Here is the install directory on my website: http://blacksunswg.com/forums/install/

If you are running a localhost, you need to put the files that are inside of "Upload" into your htdocs folder and then open your localhost in your browser for the installation to pop up

Related

Troubles with XAMPP(or?)

I just started taking a PHP course and I'm having a lot of difficulties. I won't get anywhere unless this is resolved.
I got the course files downloaded and added them to htdocs folder but I can't run any new files I created. I get
Object not found! 404 error
I see them under localhost/coursefiles/whtever.php. I've google searched all day but can't find anyone else having this specific problem.
Would uninstalling and reinstalling XAMPP work? This is extremely frustrating and making me crazy.
First Check xampp manager Is your MySQL and Apache is in running state ?
Then Type Localhost in your browser , if Xampp Homepage is Coming It means Xampp is working Fine!
And again Checj your course files Extension they should have .php extension (if they are php files).
Create An folder In your Htdocs Folder With Abc(for example) and Write in browser's Url window "http://Localhost/Abc
if your Folder is opening and it's showing Files Then There must be a Problem with files! :)

Local xampp wordpress installation - cannot find wp-blog-header.php

I'm working locally with XAMPP and Wordpress and I'm struggling with what is probably a very basic config issue. I'm not a professional IT guy, just a hobbyist hacker so I apologise in advance if I'm being a bit dumb but hopefully somebody can kindly offer some assistance here.
I've installed xampp locally on my iMac. I've then installed wordpress using the xampp wordpress installation package. Both seem to be working fine. To test the web server I created a simple .php test file and this generated the expected output when I entered "localhost/hello.php" into my browser. As far as wordpress is concerned entering "localhost/wordpress" gives me access the local wp interface to create and edit posts, change display settings etc etc. So far so good...
Now I want to create a new .php file that includes the instruction:
require('XXX/wp-blog-header.php')
where the "XXX" is obviously the relevant directory path for the wp header file.
I cannot find this file, or indeed local wordpress files, anywhere (and I've searched extensively). In the "home" location for "localhost" (which I know from my "hello.php" test) there isn't even a wordpress directory so I'm totally puzzled as to how typing "localhost/wordpress" in my browser is accessing the local wp installation or how to go about determining the correct directory path for the wp header file I'm looking for?
I do understand that with this stack a great deal of info will either be generated on the fly, or stored in the local mysql database as opposed to the file structure, but I thought I would find some reference or alias somewhere to help me trace this through and determine what path to include in my .php file for wp-blog-header.php.
I've searched this forum and while there are several related questions I haven't found anything that helps me with this particular issue.
Thanks vm,
Ian
The location of your Wordpress files is:
/Applications/XAMPP/xamppfiles/apps/wordpress
Ok I found the path I needed and (partially) understand why I couldn't locate it. As Scriptonomy helped me identify the Wordpress files are held at:
/Applications/XAMPP/xamppfiles/apps/wordpress
While my test.php file is held at:
/Applications/XAMPP/xamppfiles/htdocs/test.php
The reason I couldn't locate either wp-blog-header.php or wp-load.php is because these there is an another "htdocs" sub-dir under the wordpress install location i.e.:
../apps/wordpress/htdocs
However I (as user "admin") don't have access to read this directory and so couldn't see the contents and therefore couldn't find the files. The permissions on the directory belong to "daemon" which I guess was the XAMPP installer package? Setting the directory path in my test.php file to:
../apps/wordpress/htdocs/wp-load.php
somehow the web server (?) can read the file (even though I can't see it myself via the Finder application) and so the code is now giving the expected result.
So problem solved even if I don't quite understand the solution!
Thanks for replies which helped me eventually get to a solution!
Cheers,
Ian

WAMP does not open my project

I am completely new to web-dev and wamp, I have to use it for a college project to build a website using php. I installed the newest version of wamp. I cloned my project repository into the www folder.
When I run "localhost" in the browser, I get the generic wamp page and I can see my project folder on the bottom of the page under the "Projects" heading
when I click on the project it does not open and I get a 404 not found error. This is not the same issue a thousands other people have written about, where when they uses the path "localhost/projectname" they get access to their project but when they just click their project the path is "projectname" and they dont see their project. I have read tons of posts with people that have that problem and I do not think I have the same issue becase when I click on my project link on the wamp hompage, I get the complete path "http://localhost/PaperCloudBackend/" and this shows a 404 error
Keep in mind that all I have done with wamp so far is:
1) install it
2) clone repo into www folder
3) opened browser with localhost
4) clicked on my project name
I would really like a concise answer to why this is happening so I can learn the root cause, and also a solution to the problem because i have not contributed to my team codebase at all and I have not been able to solve this issue after 1 week.
Thanks
I assume that its an .htaccess error which is clashing . If you have .htaccess in your project then check it if you have given the correct url in the .htaccess rule or you can delete the file(.htaccess) and run the project in your browser.
Another problem that you should check is there any index file is present in the root of the folder you are trying to access.
I hope this might help you.
Currently thats also happed with me on window8.1, To prevent this open the index.php file from root directory wamp/www/index.php.
Change
$suppress_localhost = true;
To
$suppress_localhost = false;
Hope this will help you to fix the problem.
Please make sure that index file exist in your "PaperCloudBackend" directory as it is the entry point of execution.

Creating a new PHP project with WAMP 2.5

I have a directory containing a basic PHP website like so:
website/index.php
website/pages/...
websites/styles/...
I want to use WAMP to run this locally for development purposes. I thought this would be easy, but if I put my website folder in WAMP's "www" directory and click on it in WAMP's "My Projects" section, Firefox gives me a "Server not found" error.
After doing some reading I discovered that apparently a better way to do this these days is using Virtual Hosts, but I was unable to find any clear, official instructions on how to set this up, and the guide I found were either outdated or hugely complicated. Nonetheless I gave it a shot, but I didn't have a clue what I was doing, didn't manage to get it working, and reverted all my changes.
Can anyone offer me a solution, or direct me to some clear instructions? (Thanks.)
I also face this problem and that is solved by doing following steps...
1> open your www folder which is inside wamp folder.
2> open index.php file from that folder
3> At line no 30 change $suppress_localhost = true; to $suppress_localhost = false;
4> Refresh page of localhost and now open project.
DONE.

Unable to acess var/www/webmail/installer through web browser to install Roundcube

I am currently running an Ubuntu server and trying to install Roundcube through its web based interface.
I always get an error when i point to the var/www/webmail/installer which says :
"The requested URL /webmail/installer was not found on this server."
Afterwards I decided to copy the files to the var/www/html. I copied all the files there and pointed my browser to the index.php (After deleting the apache html page).
Interestingly enough it worked. I tried to search the roundcube manual about how to troubleshoot this but didn’t find anything.
Turns out that after a little fiddling around i figured out the problem.
I went to the etc/apache2/sites-available folder and configured the document root from
var/www/html
to
var/www/
And that fixed the problem.
Sorry for being dumb on the internet.
I also tried to configure the apache2.conf file but that didn’t fix the problem

Categories