gpetruz / rth-turbo

Automatically exported from code.google.com/p/rth-turbo
0 stars 0 forks source link

login page error #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi 

I am getting the following login page error,

I have installed Php.

I created the database rth and run the sql

and also have created the user.

Please find the attached Rth Login page error.

Original issue reported on code.google.com by rthus...@gmail.com on 31 Jan 2010 at 5:56

GoogleCodeExporter commented 8 years ago

Deprecated: Function split() is deprecated in C:\wamp\www\rth\api\timer_api.php 
on 
line 43

Deprecated: Function split() is deprecated in 
C:\wamp\www\rth\api\properties_inc.php 
on line 35

Notice: Use of undefined constant RTH_URL - assumed 'RTH_URL' in 
C:\wamp\www\rth\api\properties_inc.php on line 41

Notice: Use of undefined constant DB_TYPE - assumed 'DB_TYPE' in 
C:\wamp\www\rth\api\properties_inc.php on line 47

Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in 
C:\wamp\www\rth\api\properties_inc.php on line 48

Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in 
C:\wamp\www\rth\api\properties_inc.php on line 49

Notice: Use of undefined constant DB_LOGIN - assumed 'DB_LOGIN' in 
C:\wamp\www\rth\api\properties_inc.php on line 50

Notice: Use of undefined constant DB_PWORD - assumed 'DB_PWORD' in 
C:\wamp\www\rth\api\properties_inc.php on line 51

Notice: Use of undefined constant FCK_EDITOR_BASEPATH - 
assumed 'FCK_EDITOR_BASEPATH' in C:\wamp\www\rth\api\properties_inc.php on line 
54

Notice: Use of undefined constant USER - assumed 'USER' in 
C:\wamp\www\rth\api\properties_inc.php on line 160

Notice: Use of undefined constant MANAGER - assumed 'MANAGER' in 
C:\wamp\www\rth\api\properties_inc.php on line 161

Notice: Use of undefined constant MANAGER - assumed 'MANAGER' in 
C:\wamp\www\rth\api\properties_inc.php on line 169

Original comment by rthus...@gmail.com on 31 Jan 2010 at 6:03

GoogleCodeExporter commented 8 years ago
I am also getting the same error. Please help.

Original comment by mkmad...@gmail.com on 10 Mar 2011 at 2:22

GoogleCodeExporter commented 8 years ago
I believe the explode() function will work in it's place.  I'm not sure if he 
using a regular expression there, if so preg_split() might work.. I use the 
regular RTH and I just replaced the split() with explode() and that worked 
fine.. no more errors thrown.  Give it a whirl..,I'm no PHP expert.. just a 
dabbler.

Original comment by wqcole...@gmail.com on 25 Apr 2011 at 11:15

GoogleCodeExporter commented 8 years ago
Thanks, after using explode() function instead of split no errors thrown. 
Thanks again!

Original comment by prasobm...@gmail.com on 3 Jan 2012 at 10:49

GoogleCodeExporter commented 8 years ago
Hi,

I am a new user of RTH.getting the same error as mentioned above.Read the 
solution also which says to use explode() function but dont understand how 
should I make the changes?

Original comment by suman.si...@gmail.com on 10 Feb 2012 at 2:44

GoogleCodeExporter commented 8 years ago
I changed the split function to be explode() now and the errors related to it 
are gone.But i still cannot get the login page as below error is also there:

Notice: Use of undefined constant RTH_URL - assumed 'RTH_URL' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 41

Notice: Use of undefined constant DB_TYPE - assumed 'DB_TYPE' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 47

Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 48

Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 49

Notice: Use of undefined constant DB_LOGIN - assumed 'DB_LOGIN' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 50

Notice: Use of undefined constant DB_PWORD - assumed 'DB_PWORD' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 51

Notice: Use of undefined constant FCK_EDITOR_BASEPATH - assumed 
'FCK_EDITOR_BASEPATH' in C:\xampp\htdocs\rth\api\properties_inc.php on line 54

Notice: Use of undefined constant USER - assumed 'USER' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 160

Notice: Use of undefined constant MANAGER - assumed 'MANAGER' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 161

Notice: Use of undefined constant MANAGER - assumed 'MANAGER' in 
C:\xampp\htdocs\rth\api\properties_inc.php on line 169
System Warning :- preg_split() [function.preg-split]: Empty regular expression 
File: C:\xampp\htdocs\rth\api\timer_api.php 
Line: 43 
System Warning :- mysql_connect() [function.mysql-connect]: Access denied for 
user 'rth'@'localhost' (using password: YES) 
File: C:\xampp\htdocs\rth\adodb-4.65\drivers\adodb-mysql.inc.php 
Line: 348 

Deprecated: Function ereg_replace() is deprecated in 
C:\xampp\htdocs\rth\api\lang_api.php on line 42

Deprecated: Function ereg_replace() is deprecated in 
C:\xampp\htdocs\rth\api\lang_api.php on line 42

Deprecated: Function ereg_replace() is deprecated in 
C:\xampp\htdocs\rth\api\lang_api.php on line 42

Deprecated: Function ereg_replace() is deprecated in 
C:\xampp\htdocs\rth\api\lang_api.php on line 42

Original comment by suman.si...@gmail.com on 10 Feb 2012 at 3:10

GoogleCodeExporter commented 8 years ago
replace split by  explode . error was gone

thank you 

Original comment by vvignesh...@gmail.com on 15 Mar 2012 at 1:51

GoogleCodeExporter commented 8 years ago
Can anyone attach the  properties_inc.php  file..

Original comment by ranganat...@gmail.com on 16 Jan 2014 at 5:14

GoogleCodeExporter commented 8 years ago
Hi,
I am getting below error whiel trying to open login page, could you please help 
me in resolving this issue. 

Fatal error: Call to undefined function mysql_connect() in C:\Program 
Files\Apache Software 
Foundation\Apache2.2\htdocs\rth\adodb-4.65\drivers\adodb-mysql.inc.php on line 
347

Thanks in Advance!!!!

Original comment by debarshi...@gmail.com on 27 Jun 2014 at 2:18

GoogleCodeExporter commented 8 years ago
Hi can any one solve this

Notice: Use of undefined constant RTH_URL - assumed 'RTH_URL' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 41

Notice: Use of undefined constant DB_TYPE - assumed 'DB_TYPE' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 47

Notice: Use of undefined constant DB_HOST - assumed 'DB_HOST' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 48

Notice: Use of undefined constant DB_NAME - assumed 'DB_NAME' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 49

Notice: Use of undefined constant DB_LOGIN - assumed 'DB_LOGIN' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 50

Notice: Use of undefined constant DB_PWORD - assumed 'DB_PWORD' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 51

Notice: Use of undefined constant FCK_EDITOR_BASEPATH - assumed 
'FCK_EDITOR_BASEPATH' in D:\xampp\htdocs\rth\api\properties_inc.php on line 54

Notice: Use of undefined constant USER - assumed 'USER' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 160

Notice: Use of undefined constant MANAGER - assumed 'MANAGER' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 161

Notice: Use of undefined constant MANAGER - assumed 'MANAGER' in 
D:\xampp\htdocs\rth\api\properties_inc.php on line 169
System Warning :- mysql_connect(): Access denied for user 'rth'@'localhost' 
(using password: YES)
File: D:\xampp\htdocs\rth\adodb-4.65\drivers\adodb-mysql.inc.php
Line: 348
User Defined Error :- mysql error: [1045: Access denied for user 
'rth'@'localhost' (using password: YES)] in CONNECT(localhost, '****', '****', 
rth)
File: D:\xampp\htdocs\rth\adodb-4.65\adodb-errorhandler.inc.php
Line: 77

Original comment by shettyar...@gmail.com on 27 Feb 2015 at 11:41