Make a forum using phpBB and install mod/hack in the forum.

Status
Not open for further replies.
V

vishal_bhatia87

Guest
I have just created my own forum wow! its my forum techview.6te.net . Thanks for your help dude, really good tutorial. thanks
 

adityaksharma

Broken In
after installing i log in and then when i click on the go to administation page
i get the following message please help

Warning: main(./pagestart.php): failed to open stream: No such file or directory in /home/www/adisha9.farvista.net/phpBB2/admin/index.php on line 31

Fatal error: main(): Failed opening required './pagestart.php' (include_path='.:/usr/local/lib/php') in /home/www/adisha9.farvista.net/phpBB2/admin/index.php on line 31
 

cheetah

In the zone
I figured it out..

Now i am sure that ur admin/pagestart.php is not uplloaded...

Proof:-

Try links to pagestart.php file of thinkdigit forums - *www.thinkdigit.com/forum/admin/pagestart.php and sportzforumz *dhost.info/sportzforumz/forum/admin/pagestart.php

But on your site *adisha9.farvista.net/phpBB2/admin/pagestart.php it says file not found or redirect to MSN search. So ur admin/pagestart.php is not in place. Fix It...
 

harmax

Journeyman
yeah great tutorial

but my problem is :

how do the entire thing offline so that
i can create all the stuff offline,
test it offline,
make sure it works and then
upload it to the server or do the same steps i did offline online.

should i use some kind of a webserver like sun webapp server or tomcat

can somebody post a real good tutorial like this topic tutorial
 

kjuvale

Pharmaguru
hi, i have created forum on dhost but after 2 days i can see files on host in ftp client /. but when i try to acces from browser they are not there . are they deleted or what.
Also ftp uploading is very slow on 56kb/ps connection. it take around 1 hr. to load PHPBB2 folder
please help.
 
OP
geek_rohit

geek_rohit

In the zone
@harmax
You can try it! Havn't tried it offline. So not sure.

@kjuvale
The directory size is not that much. But yes it takes a bit of time on slow connection. As for the files check the file permissions and if u havn't deleted them urself then it should be there unless someone else has deleted the files. What do u see after u access it with a browser? If some error comes then pls post it here. If no error comes and it gives blank content for the diretory then check the file permissions, still if the problem is there I suggest reuploading.
 

kjuvale

Pharmaguru
thanks geek_rohit
but i checked the file attributes they are 744 and i am not able to change them through my ftp client.
and in browser i see a blank directory while files are there as i can see them in ftp client .
what shhould be the file attribute setting. please suugest if any setting to be changed.

and when i try to open the forum i got this error

ERROR 403
Forbidden
hotlinking is not allowed!

I uploaded the google adsense first as i was not knowing the tos of dhost
but after i deleted them. can i do something now. please helpp.
 

adityaksharma

Broken In
i wish to set up a forum on my home pc what all will i need i use the abyss web server and php 5 hw do i add the databases plz tell me
 

Dharmil

Right off the assembly line
cyberia.in said:
I just tried phpBB XS (not official phpBB) and it's really cool, brings up phpBB to invision standards, and any dummy can use it.

@Rohit, i'd like to ask how you put the news coulumns and avatars on your forum, also, how did you put in the global announcements
they are mods :D
 

abhishekkulkarni

Journeyman
@ Rohit

Thanx dude , for this comprehensive tutorial . :)

However I have one doubt .

Before starting the Installation of the forum the permissions of the config.php file have to be obviously set to 666 ie -

Owner - rw
User - rw
Public -rw

But here you say that -

After entering all the fields click on the Start Install button. This will fill the database with the required fields and make the necessary files and prepares and completes the installation of the forum. After this. Change the file permission of config.php back to (644 or -rw-r--r-- within your FTP Client), after that click on the “Finish Installation� button.

Now I created two forums , one a test forum and one for my college -

Look at the index of the test forum -

*img135.imageshack.us/img135/8053/snapshot11dj.th.jpg

As is evident , the user called "chinmayjog" has been registered on to the forum successfully .

But when that user posts on to the forum let us see what his status is -

*img473.imageshack.us/img473/3103/snapshot22mr.th.jpg

Now , we see that the status of the user "chinmayjog" is still "Guest" . But if he has been showed as having registered successfully , why is he being shown as a Guest in whatever message he posts on to the forum ?

The reason for that is probably that the file permissions for the config.php should not be reset to 644 -

Permission 644 means -

Owner - rw
User - r
Public - r

If the write permission for any "user" has been set to "read" , how would any new user be acknowledged as "registered" ?

So I created another forum and did not reset the config.php permissions to 644 . And voila , it worked .....

Now what I want to know is , is my inference correct or will my problem be solved even if the permissions are reset to 644 ?

Will keeping the permissions to 666 endanger my forum in terms of security ?
 
OP
geek_rohit

geek_rohit

In the zone
Well first of all, config.php contains the database details for your forum, like the database host, database name, database username and password. So we change the file permission of that file during the installation so that the installer can write to that file. After the installation we change that back to 644 so that it isn't writable to anyone other than the admin becuase the settings have been made and the connection was successful to the db. Changing the file contents will cause problems, as the forum won't be able to connect to the db. So yes it will endanger your forum security if u don't change to 644.
As for the reason why he is shown as guest is quite simple, he must have not logged in and posted as a guest. Because if u look closely the username he registered was "chinmayjog", and that topic poster was "Chinmay Jog". So probably he didn't log into the forum and replied as a guest.
As for the config.php, that file is just for the database connectivity, the file permissions of that file has nothing to do with the user status, because if the config.php's content is changed, the forum won't work at all!
 
Status
Not open for further replies.
Top Bottom