Version: 2.0 RC3
Our site was working perfectly fine, but once I upgraded to Aeva Media 1.3a, things got wonky.
I searched around and tried different things. This is what I have already tried:
1) Clearing the 'smf_sessions' table ('Empty' phpMyAdmin function)
2) Clearing cookies
3) Deleting my cache
4) Running 'repair_settings.php'
5) Putting 'www.' before the board URL in 'Settings.php'
Here is my 'phpinfo()' file:
http://www.delibargaming.com/phpinfo.php
What else can I try? None of our users, including the Admins, can log into the site now. I cannot try repairing the boards or view the errors if I cannot log in.
Please help. This is a semi-time-critical issue.
Thank you.
I think I would start uninstalling AEVA.
This is be done via FTP so you don't have to login
Hello. Thank you for the suggestion and sorry about the late reply.
I have commented out every file modification listed here: http://custom.simplemachines.org/mods/index.php?mod=977 (And then click 'Parse')
This, unfortunately, has not fixed our issue.
What other recommendations might you have?
Thank you.
Was AEVA the very last mod that you installed?
I did not have any issues until upgrading from 1.1 to 1.3a of Aeva Media.
I uninstalled 1.1 and then installed 1.3a successfully. When uninstalling 1.1, there were some errors, saying that it could not remove some of the information on some of our files, but I assumed that since I would be reinstalling, this would be okay. I do not know if this specific issue is the cause of our login problems. Might this bring about any ideas?
Thank you.
Yeah, I've got that.
Was the upgrade of that mod the last mod that you installed?
If it was, I have a way out, for you, possibly.
The BIG shame, is that people NEVER backup, before doing this kinda thing.
That would, of course, be the best solution.
I did have a Sources, index.php, and SSI.php backup, but after applying these older files, the issue still remains.
Do you think this is a file, mod, or database issue? My only worry is that even if I backup my database, save my Theme files, and re-install clean, that if I want to retain what I have currently, I will receive the same error message.
Could you shed a bit of light on this? I am totally fine with re-installing. The Theme files should not be harmed from this and the whole site look should retain. I just want to try and keep as much of the database as possible.
Thank you.
One more try...
Was the upgrade of that mod the last mod that you installed?
Sorry.
Upgrading Aeva Media is the last mod install/upgrade that I did.
If you are asking "Was Aeva Media the last mod that you installed originally?" (which might be misunderstood from your question), then I do not remember. I believe that could be a No.
Well, let's have a small pray and try this... Might be best to backup, first, just in case.
Inside your Packages directory, you'll find another, named "backups".
In there, you'll find, hopefully, a file named something like "2010-07-05_before_AEVA_upgrade.zip".
If you get that file and dearchive it, on your hard disk, you can upload all the files to your site, overwriting what's there, now.
That should put you back as you were, before you installed that mod.
Lesson learnt. In future, before adding ANY mods, or custom themes, BACKUP EVERYTHING, first. ;)
Fortunately, this file was there.
Unfortunately, overwriting my current files with those has had no affect on the error. I am still receiving it :(
I'm not sure what your error is, to be honest.
You say "things got wonky".
What do you mean, by that?
I just went to your site and it seems OK.
I cannot log in. That is the problem.
Sorry. I probably should have made it more clear. I did say "None of our users, including the Admins, can log into the site now.", though.
My error is the topic name. I receive this whenever anyone registered on my site tries to log in.
Yeah, sorry... Men can't multitask. :P
Can you PM me a username and password, so I can have a look?
I might be able to see something in the source.
Actually, there's another symptom.
If you try to register, you click "I accept the terms of the agreement" and it takes you straight back to that same screen...
I believe there is something wrong with the PHP Sessions. If I try and do "Forgot your password?" I always get "Your session timed out while posting. Please go back and try again."
Also, you can simply login as Username: "SMF" Password: "SMF". Don't worry. This is not an actual account. The same error occurs even if there is no such account. You'll get the same situation.
Thank you for your continued assistance.
If you could get into your forum, I'd suggest uninstalling AEVA, completely.
Sadly, you can't do that.
I thought, initially, "Get the virgin SMF install archive and upload all the files".
I somehow doubt that'd help, though, with this.
Assuming you have FTP access, have a look in the root of your site, where settings.php is.
You'll see a directory named "cache".
Try deleting everything inside that.
I deleted the 'cache' folder entirely already. (And doesn't look like it'll come back until we fix the issue.)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.augk18.dsl.pipex.com%2FSmileys%2Fscratchhd.gif&hash=572212733b3699e0a3d18caf340e2040db85c334)
My brain hurts...
This is just a hunch, this...
Try going to your site's cpanel and repairing the database.
K@,
If I may (might?) make a suggestion... Before you start poking around in the database, try this
UPDATE `smf_settings` SET `value` = '1' WHERE `smf_settings`.`variable` = 'theme_allow';
After that try accessing the forum using the default theme (?theme=1). Maybe it's the code for the update added or not added to the custom theme that's causing this.
That's a plan. :)
I tried the theme=1 thing and it stayed on the custom one, oddly enough.
Because "Allow members to select their own themes" option is unchecked, you won't be able to select any theme other than the selected theme. Running the query should reset that option.
I have completed both steps.
...The issue still remains :(
Quote from: xenovanis on July 05, 2010, 04:20:51 PM
Because "Allow members to select their own themes" option is unchecked, you won't be able to select any theme other than the selected theme. Running the query should reset that option.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.augk18.dsl.pipex.com%2FSmileys%2Fc014.gif&hash=0ef61ff2bc9ea8a23920a1224944f12fcb52a9bd)
Quote from: K@ on July 05, 2010, 04:27:15 PM
Quote from: xenovanis on July 05, 2010, 04:20:51 PM
Because "Allow members to select their own themes" option is unchecked, you won't be able to select any theme other than the selected theme. Running the query should reset that option.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.augk18.dsl.pipex.com%2FSmileys%2Fc014.gif&hash=0ef61ff2bc9ea8a23920a1224944f12fcb52a9bd)
This is one of the steps that I accomplished.
1) I submitted query
2) I change the theme
3) I tried logging in - same error
Please run this query in phpMyAdmin and post back the results:
SELECT *
FROM `smf_log_errors`
ORDER BY `smf_log_errors`.`log_time` DESC
LIMIT 0 , 30
It should give us the latest entries in your errorlog, we might me able to determine what file is causing this. Leave out the ip addresses please.
I'm sorry, it's time to get some sleep for me now. I'll be back tomorrow.
http://delibargaming.com/result.htm
TPortal.php!!!!!!!!!!!!! YOU LITTLE!!!!!!!!!!!!!
It keeps referring to line 2766. this is part of the function:
function TP_blockgrid($block, $theme, $pos, $side, $last=false, $gridtype, $empty=false)
{
global $context , $scripturl, $settings, $language , $txt;
// first, set the table, equal in all grids
if($pos==0)
echo '<table cellpadding="0" cellspacing="0" width="100%">';
if(isset($context['TPortal']['grid'][$gridtype][$pos]['doubleheight']))
$dh=true;
else
$dh=false;
// render if its not empty
if(!$empty)
echo $context['TPortal']['grid'][$gridtype][$pos]['before'] , call_user_func($context['TPortal']['hooks']['tp_block'],$block,$theme, $side,$dh) , $context['TPortal']['grid'][$gridtype][$pos]['after'];
else
echo $context['TPortal']['grid'][$gridtype][$pos]['before'] . ' ' . $context['TPortal']['grid'][$gridtype][$pos]['after'];
// last..if its the last block,close the table
if($last)
echo '</table>';
return $code; // this is line 2766
}
What could be the problem here?
Bump :)
Just a hunch, this. So, keep a copy of the original file, just in case.
This line:
echo $context['TPortal']['grid'][$gridtype][$pos]['before'] . ' ' . $context['TPortal']['grid'][$gridtype][$pos]['after'];
Try removing the " ", or even the "' ' . "
Unfortunately, neither change proved to be successful. :(
Thanks.
I'm sorry for my absence. I had a footballparty to attend to yesterday :)
I've tried searching for this error, but it seems you're unique in this. :( I'm still not sure this is causing this, however you should report this error in the support topic for this mod.
For a quick solution, I'd recommend uploading all files from the installationpackage for 2.0 RC3, except install.php, Settings.php and Settings_bak.php, overwriting the excisting files. This will get rid of your installed mods and most likely let your forum function again.
Note that this will only affect your files and not the database, so your members and posts will be safe.
However, if you want to get to the bottom of this, which could be painfull and timeconsuming (probably more than refreshing the files and reinstalling the mods), could you start by filtering any login errors by running this query in phpMyAdmin?
SELECT *
FROM `smf_log_errors`
WHERE `url` LIKE '%login%'
ORDER BY `smf_log_errors`.`log_time` DESC
LIMIT 0 , 60
And please post back the results ;)
Quote from: xenovanis on July 07, 2010, 03:12:09 AM
I'm sorry for my absence. I had a footballparty to attend to yesterday :)
I bet!
I've tipped The Netherlands, right from the start! :)
I could start from scratch... but I don't want to give up!! I want to fix this issue so if others get the same thing.
Anyway, query results: http://delibargaming.com/login.htm
Will post on Aeva's boards. Thanks.
The last error regarding login is from July 3th. It didn't even record those failed attempts as errors :(
I'm really sorry I can't help more. Try posting in Avea's board or else in Tinyportals support topic, maybe people have an idea.
In addition, overwriting the files is nearly the same procedure as upgrading. What eventually you'll still need to do. It's hardly starting from scratch, after all no database data is lost.
Quote from: K@ on July 07, 2010, 07:30:24 AM
Quote from: xenovanis on July 07, 2010, 03:12:09 AM
I'm sorry for my absence. I had a footballparty to attend to yesterday :)
I bet!
I've tipped The Netherlands, right from the start! :)
It's great. It's 32 years ago the team came this far :D
Alright. Well I overwrote every file, but Settings.php, Settings_bak.php, and install.php.
Guess what.... still broken. :(
Take a look now: http://delibargaming.com/
Just had a look.
As a guest, everything looks fine.
I doubt this affects guests, though, does it?
Quote from: K@ on July 08, 2010, 09:43:24 AM
Just had a look.
As a guest, everything looks fine.
I doubt this affects guests, though, does it?
Just try logging in with any Username and Password. No matter what, it will say "You need to fill in a username." I thought this would have fixed after overwriting with fresh new files. Seems like it has not.
Thanks.
Well, it's bound to do that, if I haven't registered.
Do you have a username/password we can use?
Quote from: K@ on July 08, 2010, 11:29:50 AM
Well, it's bound to do that, if I haven't registered.
Do you have a username/password we can use?
No it isn't suppose to do that. It would say something like "Wrong Username or Password". not "Please enter a username"... (no matter what you enter, always "Please fill in a username" comes up)
Also... I am trying mine... not working. I don't have a test account. If I did, I can't see the members list so I wouldn't know what it was.
Yeah, 'course.
Let me just go back over this topic and see if I can think of anything else.
This may have already been asked. But, assuming that everything worked, before, can you think of anything that was done, just prior to this all going "Phut!"?
AEVA... OK, cancel that last bit... ;)
I thought you said the forum was set to the default theme?
's OK, I changed it. No difference...
Do you mind sending me, by PM, FTP access details for your site?
There're a few things I can check, there.
Please, read this, first: http://www.simplemachines.org/community/index.php?topic=228940.0
Meanwhile, could you also try deleting all files from your /forum/cache directory, except index.php and .htaccess?
That might be something.
That directory's crammed full of stuff.
I really can't find anything wrong, on your site.
This is really weird.
Best I can offer, is that if that was my site, I'd get the SMF v2.RC3 large upgrade package and run that.
I don't want this to come-across as "Ner-ner! I told you so!", or anything...
BUT... if you'd backed-up, before installing mods, you'd be OK. ;) I have to confess that I don't always backup, but I sure would before installing something as complicated as AEVA, or TP. O:)
That was one of my last ideas too. It doesn't make any sense, really >:(
Yeah... It's, dare I say?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.augk18.dsl.pipex.com%2FSmileys%2Fillogical.gif&hash=66e8c38c5c9642668ccf62c7cd0c118180e4b2d1)
You may and you're absolutely right.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2F2.bp.blogspot.com%2F_gKemFtSMbos%2FSmRllDyLd3I%2FAAAAAAAABBM%2FZ8pmu18K41I%2Fs400%2Fthe_annoying_thing.jpg&hash=97cd9855a70b116100640175d9aad622a589f705)
Well, the host we are using doesn't have automated backups, but I should have been a smarter thinker and backed up myself.
Anyway, I think we're just going to run a re-install and work on a new canvas :) I don't mind so much having to make a new site again.
Well, thanks for the continued support. Really wish there was a reason for this dumb error.
Thanks again.
I think that's the best plan, mate.
Good luck with it and keep those backups going. ;)
Keep us informed, ay? :)
Sure will.
Alright... well... I'm trying to install now... and all of a sudden... I can't even install :(
Clicking "Continue" on the first page of Install.php does nothing but refresh the page. What now?
I think now would be the time to contact your host and ask him if anything has been changed in the serverconfiguration during the last couple of days.
Before reinstalling, (did you backup - I know, sensitive ;) ) and remove all 'old' files?
Yeah I've removed all the old files. Haven't had a chance to contact host, but I will look into it.
The 'install.php' page takes a while to load and click "Continue" just is a longggg refresh of the 'install.php'.... hrm....
Sorry for getting back to this late, do you need any further help with this?
At what step of the install.php does the it just refresh?
Sorry. I believe it is a host server issue. Nothing wrong with the actual script.
Thanks for the support and help with this issue.
I'll mark this as having been solved, for now.
If you need any further help, with this, just mark it "Unsolved" and post away, OK?
Sure thing. I've re-created the forums on another server for now.
Thanks!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.augk18.dsl.pipex.com%2FSmileys%2Fc014.gif&hash=0ef61ff2bc9ea8a23920a1224944f12fcb52a9bd)
Thanks for posting back, cralor :)
Well... here is an update: I FOUND THIS FRIGGIN ISSUE!!!!
Here is my bug report: http://www.simplemachines.org/community/index.php?topic=395166.0
Thanks again for the help you provide(d)!!!
Glad you fixed the issue. :)
It was a strange solution, but atleast it worked/
For anyone who runs across this topic from a Google Search, and if it doesn't address your issue...
The problem I was having was that I setup a PHP/apache redirect so that any attempts to access my domain would be redirected to the www version.
However, I didn't properly update Settings.php to match (i.e. to use the www) - I didn't realize there was a setting for it. This resulted in any attempts to login showing the "You need to fill in a username." message.
Hope that helps anyone who runs into this (I ran into the problem on GoDaddy hosting)
Thanks, for that, Marco! :)
facing the same issue of arvixe hosting.I didnt even changed anything .
let me try ur solution
Thanks for these postings. I have a new installation and got the same error message. After an hour I managed to resolve it via this post and others. The most helpful was the repair tool at http://wiki.simplemachines.org/smf/Repair_settings.php (http://wiki.simplemachines.org/smf/Repair_settings.php). I wish I had found it earlier!