1
DarkDeath
Re: Login Problems...
  • 2004/8/2 16:05

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


FIXED IT.... the problem was my Sessions Table was fried... so i had to re-create it... Hopefully if this happenes ot anyone else they can re-create it.. here is what i used...

I dropped the table.. then ran: (make sure the "xoops session" is named the same as yours was)

CREATE TABLE xoops_session (
sess_id varchar(32) NOT NULL default '',
sess_updated int(10) unsigned NOT NULL default '0',
sess_ip varchar(15) NOT NULL default '',
sess_data text NOT NULL,
PRIMARY KEY (sess_id),
KEY updated (sess_updated)
) TYPE=MyISAM;



2
DarkDeath
Re: Login Problems...
  • 2004/8/2 14:54

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


ok... i changed the MySQL database to turn on the Debug... now when i laod the site i dont get any bugs showing up...

and i cant seem to figure out the MySQL repair or whatever to find out if its corrupt. everything looks fine to me. Any other ideas?

Hopefully i dont have to completly re-install Xoops.... man that would suck!



3
DarkDeath
Re: Login Problems...
  • 2004/8/2 12:50

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


hrrmm... as I have been trying to solve this problem this morning I have found out i can't even login to my admin now.. so i cant turn on debugging... essentially when i put in the user and pw i get redirected back to /modules/news

Anyone have any ideas?



4
DarkDeath
Login Problems...Logging in, redirect to logged out [SOLVED]
  • 2004/8/2 11:32

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


One of the websites i created long ago has jsut recently come to me saying that they can no longer login to the site. The site comes up and they type in their login info, yet when it refreshes they aren't logged in. I have looked over the code and the database, but I can't seem to find the problem.

Anyone have any ideas of waht files i should check..or any code i need to fix?

I updated to 2.0.6 this morning hoping that would solve it, but it hasn't. Thanks for any help!



5
DarkDeath
Re: User Problem
  • 2003/12/5 13:27

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


Man... i should have read my errors befor efreaking out and posting them ehre lol.. i fixed it..



6
DarkDeath
Re: User Problem
  • 2003/12/5 13:24

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


HERE is the PHP Debug Erros I am getting....

NoticeConstant _CC_MOD_NAME already defined in /home/thisgene/public_html/modules/cjaycontent2/language/english/modinfo.php on line 5

Notice
Constant _CC_MOD_DESC already defined in /home/thisgene/public_html/modules/cjaycontent2/language/english/modinfo.php on line 8

Notice
Constant _CC_MD_ADMENU1 already defined in /home/thisgene/public_html/modules/cjaycontent2/language/english/modinfo.php on line 11

Notice
Constant _CC_MD_ADMENU2 already defined in /home/thisgene/public_html/modules/cjaycontent2/language/english/modinfo.php on line 12

Notice
Constant _CC_MD_ADMENU3 already defined in /home/thisgene/public_html/modules/cjaycontent2/language/english/modinfo.php on line 13

Notice
Constant _CC_MD_ADMENU4 already defined in /home/thisgene/public_html/modules/cjaycontent2/language/english/modinfo.php on line 14

Fatal error
Cannot redeclare cjaycontent_search() (previously declared in /home/thisgene/public_html/modules/cjaycontent/include/search.inc.php:25in /home/thisgene/public_html/modules/cjaycontent2/include/search.inc.php on line 25



7
DarkDeath
Re: User Problem
  • 2003/12/5 13:10

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


I am having a similiar yet different problem. When i click to view a users profile all i get is a white page. I can't seem to view anyones profiles. I havnt edited ANY code as of late so im suprised it stopped working... anyone have any idea?



8
DarkDeath
Re: PH Help....MySQL Help too lol
  • 2003/10/18 19:56

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


THASNK!



9
DarkDeath
PH Help....MySQL Help too lol
  • 2003/10/18 17:10

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


Working on a form to Update exiting entries in a table.... really wracking my brain cause im using a form with the values set to the existing tables.. and all that works... its the output of the form and the update that im having a problem with.... The output variables arent transfering to my update query.... well heres the code...


Here is the FORM...this is PART of the whole file.... this part all works.. its the action thats not..
{
$edit .= "<FORM action="http://www.thisgeneration.com/modules/cjaycontent/content/encounters_form_update.php" method="POST">
<input type="hidden" name="id" value="$row[id]">
<
input type="hidden" name="redirect" value="http://www.thisgeneration.com/modules/cjaycontent/index.php?id=29">
<
table>
<
tr><td align="right">Script Title: </td><td><input type="text" name="script_title" value="$row[script_title]size="52"></td></tr>
<
tr><td align="right">Script: </td><td><input type="text" name="script" value="$row[script]size="52"></td></tr>
<
tr><td align="right">Content Title: </td><td><input type="text" name="content_title" value="$row[content_title]size="52"></td></tr>
<
tr><td align="right" valign="top">Content: </td><td><textarea name="content" rows="20" cols="52">$row[content]</textarea></td></tr>
</
table>

<
input type="submit" name="submit" value="submit"> <input type="reset" value="reset">
</
FORM>";


}
?>


Here is the file set to the Forms Action... its my POST variable that arent working write... its updating and everything.. but its updating to {$_POSTBLAHBLAH and not the ACTUAL content..

<?php
$dbname 
"thisgene_sitearticles";            // Place the database name here
$tablename "encounters";                // Table name here

$dbconnect mysql_connect ("localhost""thisgene_porter""102073") or die(mysql_error());

$db = @mysql_select_db($dbname$dbconnect);


$sql 'UPDATE `encounters` SET `script_title` = '{$_POST[script_title]}',';
$sql .= ' `script` = '{$_POST[script]}',';
$sql .= ' `content_title` = '{$_POST[content_title]}',';
$sql .= ' `content` = '{$_POST[content]}' WHERE `id` = '11' LIMIT 1 ;';
$sql .= ''




$result = @mysql_query($sql$dbconnect) or die(mysql_error());

echo 
"Entry Updated  |  Click <a href=http://www.thisgeneration.com/modules/cjaycontent/index.php?id=27>HERE</a> to return to the Menu."

?>



PLEASE help lol



10
DarkDeath
Re: NewBB Question
  • 2003/10/17 2:32

  • DarkDeath

  • Just popping in

  • Posts: 29

  • Since: 2002/8/17


go to your System Admin...General Settings... and changethe Post view to Flat...




TopTop
(1) 2 3 »



Login

Who's Online

144 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 144


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits