1
chipthamac
Use of undefined constant _PROFILE_AM_ADDUSER
  • 2005/11/23 16:22

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


I have used XOOPS for over a year but the 1.x.x versions. So I started a new site, and installed a fresh copy of XOOPS 2.2.3 final and I get the following error when I click to edit my account (also if I do go ahead and edit it, it says i don't have the right to modify that users acct?!?!?)
Notice [PHP]: Use of undefined constant _PROFILE_AM_ADDUSER assumed '_PROFILE_AM_ADDUSER' in file modules/profile/include/forms.php line 374


Also once I login and turn on the debug, on every page it shows these errors
Notice [PHP]: Undefined indextheme in file kernel/object.php line 279


Any help on the profile_am_user would help alot, thanks



2
chipthamac
Re: System module dissapears
  • 2005/8/23 19:49

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


well. jd thanks for your help. the user menu never worked right again. i suspect something went awry in the sql tables. oh well, i just went to a clean install. lost a years worth of work. just goes to show you kiddies. backup AND verify they are good backs.



3
chipthamac
System module dissapears
  • 2005/7/23 14:12

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Hey guys,
Got my site pretty much all bak up. Here are the problems I can not seem to figure out. When I go to my site the menu does not appear (navigation), or the user login, both system modules. So I go to user.php, login, then go to admin.php. Now, I can work with any module, EXCEPT anything on the system module. Clicking anything on system was causing a blank page of death. I updated to 2.0.13 and now it pulls up my website's template and has the message "Selected module does not exist!"
I think it may be a seqel error because if I go to phpmyadmin then xoops_modules, then browse, it shows all the modules, but system is in there twice at positions 1 and 16.
Any help or advice would be great.
Thanks guys,



4
chipthamac
Messed up xoops bad, need help, will pay.
  • 2005/7/22 16:10

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Hey Guys,
So here is what happenend. I downloaded the release canidate and installed it over my site and it messed EVERYTHING up. Big time. Yes, I know I shouldn't have, I wasn't thinking clearly. =/
So here is my delima, I had a backup of the website, which is about 520MB. My host at the time would not untar it or allow me shell to run the command myself and I didn't want to sit there and upload 6k+ files. So...I got me a new host, they untarred the backup for me. Now, I had a backup of the sql too, but somehow its corrupt or something. I backed it up from vdeck and its got it all messed up looking. So, I had to restore a backup of the sql from the release canidate through phpmyadmin. I have everything connecting, kinda, i mean you can go to www.everythingfunny.com and see that part of its working and my content seems to be all thier. Which brings me to my problems.
So far this is what I notice needs to be fixed.
When I go to administration, and click on system, no dice, I get the blank screen of death.
Also, the menu is not showing up on any pages of the site. This is all I have noticed so far. Any help would be greatly appreciated and if you are a guru with XOOPS and want to just go in there and fix it for me, I got a little paypal with your name on it.
Thanks for you time,
-chip



5
chipthamac
Re: Soapbox: Can't open file: 'xoops_sbarticles.MYD'. (errno: 145) TIP and Question.
  • 2005/7/13 14:13

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Quote:

Shine wrote:
All of a sudden all of my soapbox articles weren't reachable for my users.
It said: There are no articles. But there are for sure!! The admin sais so!

A brief look within the sql learned me that the msgs at this table was: 'in use'.
Cleaning (empty it) wouldn't be the solution because then I got also be rid of all the articles. I want to keep them!

The solution for this could be:
- Enter within the querie table:
REPAIR TABLE xoops_sbarticle;

This worked for me.

No, after givin'this small tip my questions:
1).Do other soapbox user enter this problem
2). Why and how can such sql errors occur? What causes this?

Grtz., and thanks, Shine

Thank you so much for posting this. I have been banging my head for a day trying to figure wtf was wrong with my sql. I was not able to login. I mean, it would say thank you for logging in, then after redirection, you were back to being logged out, hence no admin area. Anyway I was getting error can not open xoops_session.MYI or something like that.
So I found your post via google search went to www.mywebsite.com/phpMyAdmin, then I clicked on the xoops_sessions (I was just guessing this was the problem, since it wasn't keeping me logged in.) and sure enough, it said it couldn't open xoops_sessions.MYI. So I took your advice and entered Quote:
REPAIR TABLE 'xoops_sessions'

It then reported that it changed the number 126 to 120 and that it was ok.
Thanks so much for sharing your fix.
-chip



6
chipthamac
PLEASE HELP blank page and FAQ does not help. no errors. Specs added.
  • 2005/7/12 18:28

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Hi, I need some help.
I have had XOOPS up for a year and have made no changes in the code or php or html or anything. I did add my link to the "show off your website" forum here, and shortly thereafter my website started displaying blank pages. I'm sure its because its and exploit in the code or whatever, and I would love to upgrade, but I can't get to a login page. I am very lost and don't know a whole lot about php but I am not entirely a noob either. If you could help me or point me in a direction where I could get help. I looked through the faq's and didnt find anything. I really need to get this back up as I have a years worth of content on my site.
Thanks in advance for ANY help.
-chip

Here is some more info, if i do a view source this is all it shows for any .php page
Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"></HEAD>
<BODY></BODY></HTML>

I am really freeaking out about this, because after a year I was finally starting to get some traffic, now the sites been down for 3 hours. =/

EDIT: I have tried everything in the blank page faq here

I am using XOOPS Version 2.0.10

Server Specs are:
operating systemFreeBSD 4.10-SATA-RELEASE
mysql version MySQL Ver 12.22 Distrib 4.0.18
perl versionperl, v5.8.3
php version PHP 4.3.11 (detailed PHP information)

Also all XOOPS .php pages are blank. NONE of them do anything. However other php scripts on my server work.

EDIT 2:31om cst - finally produced this error by following this link
Quote:
Fatal error: Call to a member function on a non-object in /home/user/www/public_html/header.php on line 100

EDIT: 3:30 pm. - ok, I went to sitename.com/phpmyadmin and did a check on the sql database and there were errors. I did a repair on the errors and the site showed back up, but without any content that I have added, i.e. in sections, photoalbum etc.
now the content is back but it wont let me login so I still can't upgrade. lol.
I see there is some help in that blank page FAQ but im totally lost. Anyone out there who can help me decipher this?



7
chipthamac
Re: EverythingFunny.com
  • 2005/7/12 18:12

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


yeah, someone exploited some code right after I posted the link here.
Thanks to whoever, that was REAL mature. =/



8
chipthamac
EverythingFunny.com
  • 2005/7/12 15:02

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


Not really new, actually its my 1 year anniverssary, and it's still not where I want it at.
anyways.
Everything Funny



9
chipthamac
Re: php inlude tag makes blank block
  • 2005/4/13 20:40

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


That was it, dunno why I didn't think about it.
So to get it to work, I changed content type to php script and put the following code
Quote:
include 'links/my_links.php';

and that worked.
Now to edit the script itself so I can get it to appear the way I would like.
Thanks m0nty for you help!



10
chipthamac
Re: php inlude tag makes blank block
  • 2005/4/13 20:16

  • chipthamac

  • Just popping in

  • Posts: 28

  • Since: 2005/1/4 2


I have a link trade script I am trying to implement, and I want to call the php script page into a block.
So, I was/am trying to use a php include of that page into the block.
When you clickhttp://www.everythingfunny.com/links/my_links.php , I want what you see there, to show up in a custom block, and I don't understand why when I do a php include of that file from the block, the block is showing up empty.
Thanks...




TopTop
(1) 2 3 »



Login

Who's Online

233 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 233


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