51
biomech
Re: 2.5.0 -> 2.5.5 Upgrade --> White Screens
  • 2012/8/6 6:48

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Thanks Mamba,

As I edited my post above to mention, I can access module content, but not /admin.php or the module admin interface, both of which display blank pages.

As far as protector goes:
[~/www]# find ./ -name protector -print
./modules/protector
[~/www]# grep protector ./mainfile.php 
[~/www]# grep Protector ./mainfile.php 
[~/www]#


How do I flush my cache without having access to the admin menu? (I have shell and DB access.)

Edit: I read the FAQ on caching here:
https://xoops.org/modules/smartfaq/faq.php?faqid=771

but am a bit confused as to how to clear the cache when I can't access the admin interface, and don't want to break anything with the command line.

Edit-2: There are a _ton_ of "*.html.php" files in my templates_c directory with file change dates ranging from 2006-2010. Is is a good idea to delete these? (I created a backup dir for the content of templates_c and moved everything from templates_c into the new directory, then tried to access my site, but still get the blank white pages.)



52
biomech
Re: 2.5.0 -> 2.5.5 Upgrade --> White Screens
  • 2012/8/6 6:15

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Thanks Mamba!

No, I carefully set aside my mainfile.php file ahead of time and uploaded it after uploading the other files, so that's not it. (The mainfile.php perms are 0777.)

Anything else I might want to look at?

Thanks!

PS: Just for clarification, I can still see my user profile, and the newbb forums, etc., but I can't access /admin.php or /modules//system/admin.php



53
biomech
Re: 2.5.0 -> 2.5.5 Upgrade --> White Screens
  • 2012/8/6 2:58

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


I also get a blank white page when I visit /modules/system/admin.php in the browser.

Thanks.



54
biomech
2.5.0 -> 2.5.5 Upgrade --> White Screens
  • 2012/8/6 1:58

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Hello,

I'm trying to upgrade 2.5.0 to 2.5.5. I thought the safest way to do this might be to go 2.5.0 -> 2.5.4 and then 2.5.4 -> 2.5.5 (because I saw a 2.5.0 -> 2.5.4 upgrade script in the repository, but didn't see one for 2.5.0 -> 2.5.5).

In an attempt to follow advice that I saw here:https://xoops.org/modules/news/article.php?storyid=6284 , I deactivated all modules, removed my pm, profile, protector, and system module directories, and uploaded the contents of the new htdocs/ folder, making sure that xoops_data/ and xoops_lib/ were in the right places.

Now, when I vist my admin.php in my browser, I get a blank screen and am not sure how to proceed with the upgrade.

Any advice appreciated.

Thanks!



55
biomech
Re: Suspending User Accounts
  • 2011/1/20 5:09

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Thanks Rodney, I'll give that a try. My SQL is good enough to do it - I just need to look at the table structure. (I didn't know if assigning a different group is more complicated than just changing one value in one field in one table, or if there are table relationships that need to be taken into consideration.)

Cheers,

-b-



56
biomech
Re: Suspending User Accounts
  • 2011/1/20 1:05

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Thanks RHR,

Any advice for automating this with a script to search for users without names in this field and then move them to the other group? (I can code the DB search, but don't know how to go about coding the assignment to another user group...)

Thanks,

-b-



57
biomech
Suspending User Accounts
  • 2011/1/19 7:09

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Hi all,

My site has a rule that users have to provide their real names when registering. I want to write a script that periodically checks the Real Name field (which I added to the user profiles) to see if it is empty or contains only one word. Then, for those accounts, I want to suspend or deactivate them so that they can no longer be used.

At the same time, I want to maintain the display of the user's username in the forum threads in order to maintain the integrity of the thread conversations, so I don't want to have something like "Anonymous" or "Unsubscribed" or "Deleted" displayed there - I want to keep the user name there.

Can anybody advise me on the best way of doing this?

Thanks,

- b -



58
biomech
Re: User profile link takes me to my OWN profile.. ?
  • 2011/1/18 2:07

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Thanks ghia - that worked for me!



59
biomech
Re: User profile link takes me to my OWN profile.. ?
  • 2011/1/6 0:28

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Hi Rodney,

I had tried that originally, and just did again to confirm.

1)Logged in.
2) Clicked on the profile link in the email
3) The browser loads my profile page - and the browser URL bar shows the URL containing the ID number of the new user. I don't get it. The browser is showing the URL of the new user's profile, but it's my own profile that's being displayed.

(I also tried clearing the browser cookies and trying again, but no luck.)

Confused,

- b -



60
biomech
User profile link takes me to my OWN profile.. ?
  • 2011/1/4 10:16

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


I recently switched my site from allowing users to authenticate their own accounts at registration to requiring the admins to authorize the new registration. So now when a new user registers, I get an email that looks like this:

=====
Hello AdminUserName,

A new user NewUserName (new@email.com) has just registered an account at This Awesome Website.

Clicking on the link below will activate the account of this user:

http://www.mysite.org/modules/profile/activate.php?id=4964&actkey=d9471233
=====

I wanted the email to include a link to the new user's profile so that I can have a quick look at it before I approve the registration, so I altered registration.php so that now the email I get is the same as above, but with the addition of this line:

=====
The user's profile can be viewed here:
http://www.mysite.org/modules/profile/userinfo.php?id=4964
=====

What is weird is that when I click on that link, it takes me to my OWN profile. My user id is 1. I can't understand why accessing the above URL with the user id of 4964 would take me to my own profile page.

Can anyone explain this?

Thanks,
- b -






TopTop
« 1 ... 3 4 5 (6) 7 8 9 ... 15 »



Login

Who's Online

234 user(s) are online (165 user(s) are browsing Support Forums)


Members: 0


Guests: 234


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