Welcome Guest [Log In] [Register]
Add Reply
Friends Error; Friends Error
Topic Started: Jul 15 2008, 02:19 AM (268 Views)
harrison

I'm not sure what kind of error this is:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/snacvtby/public_html/friendrequest.php:9) in /home/snacvtby/public_html/include/session.php on line 46

Harrison

edit

nvm found it :) thanks for the script!! right now i'm trying to figure out how to manipulate the script so it recognizes if you have already added the user already and to be able to delete already added users.
Edited by harrison, Jul 15 2008, 07:28 PM.
Offline Profile Quote Post Goto Top
 
harrison

another question, when i try adding a user..it always says "no request was made" i'm trying to figure out why the code isn't getting the userprofile.
Offline Profile Quote Post Goto Top
 
Admin
Administrator
harrison
Jul 15 2008, 07:38 PM
another question, when i try adding a user..it always says "no request was made" i'm trying to figure out why the code isn't getting the userprofile.
works fine for me, it pops up request was sent.

Check your database to see it the request is actually being sent.

And I was thinkling of working on checking if the user is already on the friends list and not to appear the friend again, as well as being able to remove friends.

If you get that working PM me, and ill move you to the avanced group, and ill post my advanced code, and leave your new one with the friends already added and or delete friend in the advanced section. (just like to keep stuff their for incentives for people to help)
Offline Profile Quote Post Goto Top
 
harrison

the request is not being sent for some reason..i still haven't been able to get this to work..could it possibly be because of php5?
Offline Profile Quote Post Goto Top
 
vinod

- try to include the session.php at the 1st line(top)...

if it works,then fine...if not,try

- write this code after echo "<a href='friendrequest.php?user=$req_user_info[username]'>Add as Friend</a>"; right after the email echo...
Offline Profile Quote Post Goto Top
 
Admin
Administrator
harrison
Jul 16 2008, 02:31 AM
the request is not being sent for some reason..i still haven't been able to get this to work..could it possibly be because of php5?
maybe, I have mine tested and fully working on php4.
Offline Profile Quote Post Goto Top
 
php-coder
Member Avatar

Hello,

The reason this script doesnt work is because it isnt compatible with php5 the most part of the script works it just doesnt actually input data into the DataBase, if i have time i will work on this but i cant see it being very soon.

~Pc
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Friends System · Next Topic »
Add Reply