integrierte X7Chat

Begonnen von algebre, 02 Mai 2007, 04:17:12

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

algebre

hi
look at ROOT/chat/lib/auth/pragmamx.php
search :
$pragmamx_prefix = $user_prefix."_";     

replace by

$pragmamx_prefix = $user_prefix;     

breakdancer

#21
Zitat von: algebre am 06 Mai 2007, 10:54:15

$pragmamx_prefix = $user_prefix."_";     


I do not have the given phrase in that file. I could only find:

global $dbhost, $dbuname, $dbpass, $dbname, $prefix;
$pragmamx_prefix = $prefix."_";     
$prefix = $temp_prefix;


So I will change it to:

global $dbhost, $dbuname, $dbpass, $dbname, $prefix;
$pragmamx_prefix = $user_prefix;     
$prefix = $temp_prefix;


Correct ?

Regards

Markus


EDIT: It did not help. See as follows:

Creating table mx58998bandwidth ... OK
Creating table mx58998banned ... OK
Creating table mx58998events ... OK
Creating table mx58998filter ... OK
Creating table mx58998messages ... OK
Creating table mx58998muted ... OK
Creating table mx58998online ... OK
Creating table mx58998permissions ... OK
Creating table mx58998rooms ... OK
Creating table mx58998settings ... OK
Creating table mx58998users ... OK


Setup was successful. Press Next to setup your Admin account.


As you can see, all tables were again made the wrong way...

Here f. e. the error message:

Table 'thx5549pragma.mx58998_x7chat2_banned' doesn't exist

Regards

Markus

algebre

hi
now I understands.
I do not know for what the system detect not the prefix?
You must introduce the prefix in phase 2

breakdancer

Hi,  ;)

the prefix is correctly displayed as in your image. But something does not work well within the understanding between installation routine and database...

No idea... I have an blackout.

Kind regards

Markus

P. S. Das muss doch irgendwie rauszufinden sein, warum die Erstellung der Tables bzw. das Alter_Table nicht hinhaut... Jeder, der eine Idee hat, bitte meldet euch !

breakdancer

Keiner eine Idee, wie ich mit diesem tollen Chat glücklich werden könnte?

Es kann doch nicht sooo schwer sein, dem Script zu sagen, dass er die Tables anstatt "so" lieber "so" anlegen soll (siehe oben)...

Was ich z. B. auch nicht weiss: Das Script legt eine Table "mx58998users" an... Soll hier die ursprünglich bestehende Table um ein Feld erweitert werden oder tatsächlich ein neues Table "mx58998_X7bla_users angelegt werden ?

Helft mir !  ;)

Liebe Grüße

Markus

algebre

hi
Zitat von: netzerChat läuft nun.

I do not know what happened  with your installer? :puzzled:

but you can rename your tables manualy via phpmyadmin

like mx58998_x7chat2_banned :gruebel:

netzer

Is OK. Chat is running :-)

breakdancer

Hi Algebre,

thnx for fine support regarding the Database-Problem. I have now manually changed the Tables as advised from you and now the chat is running including the usernames from PragmaMx. Thanks a lot.

One more problem now exists: When I come to the Pragma admin menue and click on "X8 Chat Admin" the system shows me an error message "You do not have the permission to enter this section". Of course, I am logged in as God-Admin.

Any idea ?

Kind regards

Markus

algebre

hi
I'm sorry I made an error
open admin/modules/x7chat.php
replace all after those lines:
$Date: 2007/05/2 11:49:21 $
**********************************/

by :

if (!MX_IS_ADMIN){

include("header.php");
opentable();
mxErrorScreen("<b>" . _RESTRICTEDAREA . "</b><br><br>" . _MODULESADMINS . "", _ACCESSDENIED);

closetable();
include("footer.php");
}
include ("header.php");
    //GraphicAdmin();
    OpenTable();
   
?>

<iframe height="800" name="manage_database" scrolling="yes" border="0" frameborder="0" marginwidth="0" marginheight="0" width="100%" src="<?php echo (MX_BASE_URL ."chat/index.php?act=adminpanel");?>"></iframe>

<?php


CloseTable
();
    include(
"footer.php");
?>


breakdancer

Hi,

so sorry to bother you again, I have now changed the x7chat.php as mentioned in your posting above but the whole thing does not work.

The situation is as it was before and I do get the message: "You do not have the permission to enter this section" everytime when I try to enter the Chat-Admin from the Admin panel...

It seems, it does not recognize my Admin-status... Any more ideas ?

Best regards - and thanx for your fine support

Markus

netzer

Hi,
obwohl ein neuer User noch nicht für das Portal/Forum freigeschaltet wurde (Adminfreischaltung bei Registrierung) kann er schon in den Chat als Registrierter User. Fehler? Ist das bei anderen auch so?

Eismann1976

Folgender Fehler gleich zu Beginn

Warning: main(includes/detection/config.php) [function.main]: failed to open stream: No such file or directory in C:\xampp\htdocs\neu\includes\mx_detect.php on line 18

Warning: main() [function.include]: Failed opening 'includes/detection/config.php' for inclusion (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\neu\includes\mx_detect.php on line 18


Wenn ich es trotzdem installieren bekomme ich am Ende ne ganze Seite voller Fehler und die Tabellen werden wohl auch nicht angelegt.   :gruebel:
LG Eismann


Kein Support per PN/ICQ/MSN ect.
Bitte schreibt eure Frage ins Forum, so haben Alle was von der Antwort.
Viele Antworten findest du auch im DOKUWIKI



http://www.wtj-clan.de | pragmaMx 0.1.11.2 &  1.12 RC2 | PHP: 5.2.9 | mysql: 5.1.33 | apache: 2.2.11 (Win32) & Microsoft-IIS/7.5

algebre

hi
in read-me.txt
Zitatif you got a probleme with :
Warning: include_once(includes/detection/config.php
open /includes/mx_detect.php & comment line 18

//include_once('includes/detection/config.php');

after installation uncomment it

include_once('includes/detection/config.php');

StegRene

Sagt mir einer Bescheid, wenn er läuft?
Ich würd ihn dann auch gern installieren <g>

Aber wenn ich mir das hier durchles, trau ich mich nicht ;)

breakdancer

Hey Algebre and all other folks  :gott:

please refer to my last posting above and the problem with the admin-login for which I do net yet have a solution...

Anyone to help please ?

Kind regards

Markus

algebre

hi
It is not necessary to come to “chat admin” via mx admin panel. You can access to “chat admin” directly from chat module.

(Admin CP)

breakdancer

Hm,

something is not correctly working here...

I do not have the AdminCP on my display...

Please check the enclosed live picture from my site. Only User CP, no Admin...

Kind regards

Markus

algebre

hi
there is an problem in chat_user table
execute this query with phpmyadmin
SELECT `aid` , `pwd`
FROM `mx58998_authors`
WHERE `name` = 'God'


copy name and password
then execute this query:
Zitat
UPDATE `mx58998_x7chat2_users` SET `username` = 'paste_name_here',
`password` = 'paste_md5_password_here' WHERE `id` =1 LIMIT 1 ;

or change admin and pass manually(via phpmyadmin)

breakdancer

Hi again,

I did execute first query with phpMyAdmin, copied the username and pass, inserted the second query, took the username and pass from query#1, inserted it there and executed it.

Result: Queries were okay, but no result. Nothing has changed, it does not work either... ! :-)

Will you give me a new try ?

I will be on vacation now for the next 5 days so please be patient, that I will not answer until Wednesday next week.  ;)

Kind regards

Markus

algebre

hi
@breakdancer
in screen 1 your member list
screen 2 my member list

screen 3 my phpmyadmin


PS chat administrator must be same with pragmamx system ( admin God)
then you can create others admins