hi guys,,, i have installed 68class on my localhost and all ok.. just having problem with the admin area. i get the admin login page but after logging in i get blank page.. any idea? thanks
Hi, Have a look at this http://www.68classifieds.com/forums/technical-support/8410-error-when-installing-68-classifieds.html And you have deleted your 'setup 'directory haven't you?
what version of php? what operating system? does the front end display and can you login there? Does your "localhost" meet all the system requirements to run 68C?
I am running wamp with: Apache 2.2.11 php 5.3 mysql 5.1.36 on windows VISTA SP2 . yes i get the login page .. but after logging in.. i get black white page.. (index.php) the user area all fine.. and its working perfectly.. part from the admin section. i dont know what i am missing.. is there any settings for the php.ini? thanks..
i have checked the log and its quite long list.. just maybe you would like to see what errors i get : ------------------------------------------------------------------ referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:34 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 45, referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:34 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 50, referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:34 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 56, referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:34 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 63, referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:34 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 71, referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:34 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 129, referer: http://localhost/BD/administration/login.php [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 41, referer: http://localhost/BD/administration/login.php?js=true&goto= [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 45, referer: http://localhost/BD/administration/login.php?js=true&goto= [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 50, referer: http://localhost/BD/administration/login.php?js=true&goto= [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 56, referer: http://localhost/BD/administration/login.php?js=true&goto= [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 63, referer: http://localhost/BD/administration/login.php?js=true&goto= [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 71, referer: http://localhost/BD/administration/login.php?js=true&goto= [Thu Dec 10 18:02:40 2009] [error] [client 127.0.0.1] PHP Deprecated: Assigning the return value of new by reference is deprecated in C:\\wamp\\www\\BD\\includes\\classes\\kernel\\Library.php on line 129, referer: http://localhost/BD/administration/login.php?js=true&goto= ------------------------------------------------------- sorry its long one.. but all are from and within this file. / kernel/Library.php
seymourjames.. yes i have tired switching magic_quotes_runtime to true / false.. restarted my server.. same result.
Im leaning toward there being an incompatability between 68C and php 5.3. It looks like many people with many scrips are facing similar issues. Id see if you can get a hold of a slightly older version of LAMP that uses php 5.2 In the mean time I would suggest submitting a trouble ticket to 68C with a good chunk of your error log, LAMP details etc. Take a peek at this thread as well. http://www.68classifieds.com/forums/technical-support/8410-error-when-installing-68-classifieds.html
Yer that is where I saw the php advice. Eric puts this in as well Look for $db = &new. Remove the ampersand
its not just that reference, but ALL references in the code for all files will likely need to be changed. here is a list from a quick search... /includes/classes/kernel/Users.php (134) $this->_class_tpl = & $class_tpl; /includes/classes/kernel/Library.php (41) $lib[$className] = & new $className(); /includes/classes/kernel/Library.php (45) $lib[$className] = & new $className($param); /includes/classes/kernel/Library.php (50) $lib[$className] = & new $className($param, $param2); /includes/classes/kernel/Library.php (56) $lib[$className] = & new $className($param, $param2, $param3); /includes/classes/kernel/Library.php (63) $lib[$className] = & new $className($param, $param2, $param3, $param4); /includes/classes/kernel/Library.php (71) $lib[$className] = & new $className($param, $param2, $param3, $param4, $param5); /includes/classes/kernel/Library.php (129) $db[0] = & new MySQL($host, $user, $pass, $dbname); You could make a backup of those two files and then edit them removing the ampersand in the above lines.
hey guys... thanks for all your help.. The reason i am using php5.X , it because i can't use php 4.x on my localhost.. Its compatibility issue with the Apache verions. if i use Apache 1.3.41 with php4.4.9 i get the following error : ------------------------ Server Error The following error occurred: Code: The server response could not be read because of an error. Contact your system administrator. Please contact the administrator. ---------------------- so i didnt want to waste my time with this. i did my search over the net and nothing was helpful. do you think guys its something to do with the ioncube??? do i have to installed that in my localhost too? if yes, where? php>ext? thanks again..
i am running php 5.2.9 . will that still the problem? cuz i have tried php 5.1.6 and the wamp server with apache gets crazy with older version. it might be my VISTA config.. but all smooth when i run apache 2.2.11 and php 5.2.9 ( WHICH I DONT WANT THOSE VERSION as i am trying to get php4.4.9 with apache 1.3.41 as my real server config. ) . Thanks again for your help.
wamp works fine on 5.2.9 but it didnt on 5.3 You have to find a older version of wamp now too, from meory it was 2.0h give it a go on there and if that still produces errors its not the localhost server. Nick
Fixed Ok its solved... as i said before.. it was the inocube settings.. just wanted to share this with all... thanks for all replies and help.
Hi, Using the latest version of 68C (Developer 4.2.1), I am experiencing the same problem of using 'localhost', where the user interface works quite fine, but am greeted by a blank page when accessing the administration area. With the site loaded to the hosted position and using the supplied license key, the admin area works quite fine...but I wish to develop the site locally before uploading to its hosted position. Local Config ========= Using XAMPP for Windows 1.7.3 PHP: 5.3.1 Apache: 2.2.14 MySQL: 5.1.41 Hosted Config =========== PHP: 5.2.14 Apache: 2.2.17 MySQL: 5.0.91 I have deleted the 'setup' directory, prior to logging into the admin area. I have deleted the ampersand in the $db = &new, so that it reads $db = new (From Lhotch's response, do I need to delete the ampersands globally?) The licence key is 'localhost' (verified in Connections/classified.php) Are there STILL issues with 68C working with PHP 5.3.x? What else do I need to check...or provide? Any and all assistance would be greatly appreciated... Thanks.