Don't have an account yet? You can create one, it is free, just click here
as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.
Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada
 Posted:
Aug 20, 2007 - 02:20 PM
Thewarden ... witch MDro version ? php version ? mysql version ? apache version ? .... please give us info's
If it is MDPro 1.08x try to execute this sql query
Code:
DROP TABLE IF EXISTS `md_session_info`;
CREATE TABLE `md_session_info` (
`pn_sessid` varchar(32) NOT NULL default '',
`pn_ipaddr` varchar(20) NOT NULL default '',
`pn_firstused` int(11) NOT NULL default '0',
`pn_lastused` int(11) NOT NULL default '0',
`pn_uid` int(11) NOT NULL default '0',
`pn_vars` blob,
`pn_antispider` varchar(64) NOT NULL default '',
PRIMARY KEY (`pn_sessid`),
KEY `idx_last` (`pn_lastused`),
KEY `pn_antispider` (`pn_antispider`)
);
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
thewarden MD user level 1
Joined: Nov 24, 2006
Posts: 12
bannato
 Posted:
Aug 20, 2007 - 02:31 PM
mdpro 1.0.76
Apache version 1.3.37 (Unix)
PHP version 5.2.2
MySQL version 4.1.22-standard
Architecture x86_64
Operating system Linux
Kernel version 2.6.19.2-grsec-Nett
_________________
L8r!
Tom Smith
TiMax Project Manager
Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada
 Posted:
Aug 21, 2007 - 03:43 AM
sorry mdpro 1.0.76 is not supported anymore, it is too old, you MUST upgrade ASAP
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
thewarden MD user level 1
Joined: Nov 24, 2006
Posts: 12
bannato
 Posted:
Aug 22, 2007 - 07:02 AM
I wish it were that easy. Reason I haven't, is cuz everytime I try, something goes wrong. Now, when I follow the instructions for upgrading from 1.0.76 step by step, during the upgrade installation process, somewhere it goes right back to the beginning. When I follow through the second time, it stops and says, "md_modules updated.error Duplicate column name 'pn_gid'" This is the 3rd attempt at upgrading and it never goes smoothly which is why I've been sticking with what worked.
_________________
L8r!
Tom Smith
thewarden MD user level 1
Joined: Nov 24, 2006
Posts: 12
bannato
 Posted:
Aug 22, 2007 - 07:13 AM
So I did a new install of md lite 1.0.81, and I still can't login right. It logs me in, but only until I hit a link, then I'm logged out again. Must be an issue with my server, but I've never had it happen before. Any suggestions?
_________________
L8r!
Tom Smith
thewarden MD user level 1
Joined: Nov 24, 2006
Posts: 12
bannato
 Posted:
Aug 22, 2007 - 07:17 AM
Never mind. My dumb mistake. Forgot to delete my cookies. It appears to be keeping me logged in right now. But I've a lot of work to do!
cbradley MD user level 5
Joined: July 21, 2005
Posts: 59
bannato
 Posted:
Nov 28, 2007 - 04:39 AM
This may be of help.
I had login problems with MDP 1.076 after my host upgraded to PHP5. We couldn't upgrade to MDLite cos it lacks some vital modules. Problems continued even after we reverted to PHP4, presumably because the PHP4 setup had been changed during the upgrade.
First attempt was enabling register_globals. That allowed us to log in but host commented:
Quote:
I have enabled PHP4 and register_globals is now On for you. I can't however stay logged in. I must be logged in but I get told I don't have authorisation.
The solution, which allows the old installation to work perfectly with PHP 5 involved a small code hack (solution thanks to our host):
Add this:
Code:
if (version_compare(phpversion(), '5.2.0', '>=')) {
register_shutdown_function('session_write_close');
at line 90 of the file: /home/celshar/public_html/mdp/includes/
pnSession.php
then clear the sessions table in the database + cookies.
All now working fine with PHP5
cdphreaker New MD user
Joined: Feb 04, 2005
Posts: 10
bannato
 Posted:
Apr 16, 2008 - 02:49 PM
I am having the exact same problem. Since i've heavily modded the files i can't upgrade to newer files either. But how come all of a sudden the site shuts down the login?? Have tried the .htaccess which gives me a Error 500, also emptied the session tables but still no solution. I tried putting a php.ini in the root directory with the register_long_arrays On parameter too but then also it won't do anything about it. If anyone could give me any insight about it. I can't shut down the site and i'm under great pressure to get it up and running again otherwise 2yrs of continuous work will get wasted. Please help me out.
TiMax Project Manager
Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada
 Posted:
Apr 16, 2008 - 03:34 PM
you version is not more supported, sorry but you MUST upgrade that's it that's all
_________________ TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
cdphreaker New MD user
Joined: Feb 04, 2005
Posts: 10
bannato
 Posted:
Apr 16, 2008 - 05:05 PM
Well Tim i do understand what you are suggesting. But, there should be a solution to it right? I mean if i upgrade then i might have to modify about 60 odd files again which is not practical for me. I appreciate your point in telling me to upgrade to keep up the security features in the website but still....i can't understand why the site just shut me out. When it was working perfectly till last week. I hope you do understand my problem. Kindly tell me what else i can do about it. Thanks in advance.