292041
Zjerre
Re: (HACK) Prevent Firewall no-login
  • 2003/9/6 16:01

  • Zjerre

  • Just popping in

  • Posts: 69

  • Since: 2003/9/6 1


Quote:
To avoid that, I have written this little hack: file html/class/mysql.php, line 147, you have:


And WHERE can I find this file?
It seems I don't have a mysql.php in that dir...? I'm using v 2.0



292042
Herko
Re: Can't login to admin page
  • 2003/9/6 13:24

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


It means that you're not logged in as a user with admin rights. But when I look at your website (when redirected to it), I see just the header and footer, nothing more. It may be that you've misconfigured your site, perhaps by changing the user groups?

Herko



292043
munchcra
Can't login to admin page
  • 2003/9/6 12:51

  • munchcra

  • Just popping in

  • Posts: 26

  • Since: 2003/9/6 1


Hello all
Could you please tell me why this is happening.
http://www.justrichmondhill.com/xoops-2.0.3/html/admin.php
It tells me I don't have access to admin?
Thanks
Mark



292044
Mithrandir
Re: WebSlave Project - a project managment tool

Created the table ws_restrictions, which was missing somehow.

Now I can add restrictions etc. but when I go to edit the tasks to assign a user to it, it gives me:

Fatal error: Call to a member function on a non-object in /usr/local/psa/home/vhosts/ruffdesigns.co.uk/web_users/Mithrandir/modules/wsproject/class/core.php on line 1794

Line 1794 being:
$this->__data['user_name'] = $user->getVar('uname');



292045
philroy
Re: How to "clone" Tiny Content
  • 2003/9/6 9:53

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


OK, really getting confused now! How does this relate to what was said earlier...in particular, Point 6 of the instructions caused errors. Do I still do that?

Perhaps a new list of instructions based on everything so far? If someone is willing? I was goingto but I'm getting it wrong.

Phil



292046
Shine
Re: How to "clone" Tiny Content
  • 2003/9/6 9:24

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


Quote:
I think that's all. If you have any problems, please post them here to make the necessary corrections.


Not quit
You forgot to mention the sql file. This file needs also to be corrected into name of his rewritten module.
Ie.:
Previous 'tinycontent'
New modname: 'mymodule' (sportsdraw)

Otherwise it doesn't connect to the correct DB tables of the rewritten TContent module.

grtz., Shine

[edit]

Wait a minute,.........within this tinycontent module I found a writing from its developer.
Open: modinfo.php
It says:
Quote:
//***********************************************************************//
// No language config below! Only if you want to change the Prefix //
// or the directory of the module! So you can sipmly duplicate this //
// module by copying it in another folder and change the settings below! //
// Also before install a clone change the prefix in the sql file! //
//***********************************************************************//

define("_MI_TINYCONTENT_PREFIX", "tinycontent");
define("_MI_DIR_NAME", "tinycontent");


Try to do exactly what he's saying here. Change both lines tinycontent into sportsdraw and open your sqlfile and change also tinycontent prefix into sportsdraw.
Upload, install and see what happens.

[/edit]



292047
philroy
Re: How to "clone" Tiny Content
  • 2003/9/6 9:00

  • philroy

  • Friend of XOOPS

  • Posts: 107

  • Since: 2003/8/23


Help?? Sorry...there's been no response to the errors when cloning that I've posted and I'm desperate.

Phil



292048
gronice
Re: WebSlave Project - a project managment tool
  • 2003/9/6 7:41

  • gronice

  • Just popping in

  • Posts: 30

  • Since: 2003/7/31


Yes there is a misstake un the sql-file

Like ackbarr already said

CREATE TABLE xoops_ws_restrictions

should be

CREATE TABLE ws_restrictions

Have fun
G'Ron



292049
dooder
Re: WebSlave Project - a project managment tool
  • 2003/9/6 5:26

  • dooder

  • Just popping in

  • Posts: 11

  • Since: 2003/9/3 1


Hi philou,

thanks for the lesson in the MySQL syntax! so that is what the xoops. (xoops dot) means

I re-installed the ws module and now I have a table called:

xoops_xoops_ws_restrictions

which seems to be wrong if I follow your logic properly. I looked at the sql code that makes the tables and the first table it makes like so:

CREATE TABLE xoops_ws_restrictions

while all the other tables in the same sql script have no xoops_ prepended only ws_





292050
philou
Re: WebSlave Project - a project managment tool
  • 2003/9/6 5:00

  • philou

  • Quite a regular

  • Posts: 384

  • Since: 2002/5/6 8


the xoops. is in fact the name of your database and so you have :
a database called XOOPS with all tables for Xoops
a table called xoops_ws_restrictions
in this table name you in fact to things : the prefix you have choose at the install (here it's xoops) and the rest of the name (ws_restrictions you can find in the sql file for the module instal. and table creating







Login

Who's Online

737 user(s) are online (515 user(s) are browsing Support Forums)


Members: 0


Guests: 737


more...

Donat-O-Meter

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

Latest GitHub Commits