Support Forums

68 Classifieds on localhost

This is a discussion on 68 Classifieds on localhost within the Installation Problems forums, part of the Technical Support Forums category; Im leaning toward there being an incompatability between 68C and php 5.3. It looks like many people with many scrips ...


Go Back   68 Classifieds Forums > Technical Support Forums > Installation Problems

Reply
 
Thread Tools Display Modes
Old 12-10-2009, 11:27 AM   #11
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

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.


Error when installing 68c
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-10-2009, 11:38 AM   #12
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,433
Rep Power: 87
seymourjames is a jewel in the rough
Default

Yer that is where I saw the php advice. Eric puts this in as well Look for $db = &new. Remove the ampersand
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
seymourjames is offline   Reply With Quote
Old 12-10-2009, 11:51 AM   #13
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Quote:
Originally Posted by seymourjames
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.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-14-2009, 03:53 AM   #14
Customer
 
Yasser's Avatar
 
Join Date: Mar 2009
Posts: 37
Rep Power: 12
Yasser is on a distinguished road
Default

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=SERVER_RESPONSE_RESET] 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..

Last edited by Yasser; 12-14-2009 at 04:07 AM.
Yasser is offline   Reply With Quote
Old 12-14-2009, 09:29 AM   #15
curmudgeon
 
Join Date: Mar 2006
Posts: 5,416
Rep Power: 139
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

its not 5.X its specifically php 5.3 and higher that cause the reference problem.
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 12-14-2009, 11:29 AM   #16
Customer
 
Yasser's Avatar
 
Join Date: Mar 2009
Posts: 37
Rep Power: 12
Yasser is on a distinguished road
Default

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.
Yasser is offline   Reply With Quote
Old 12-15-2009, 06:04 AM   #17
Genius At Work
 
bowers01's Avatar
 
Join Date: May 2008
Location: Geelong, Victoria, Australia
Posts: 1,089
Rep Power: 36
bowers01 is on a distinguished road
Default

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
__________________
Nick Bowers
68c v4.1.10 Developer Custom Template
bowers01 is offline   Reply With Quote
Old 12-27-2009, 08:35 AM   #18
Customer
 
Yasser's Avatar
 
Join Date: Mar 2009
Posts: 37
Rep Power: 12
Yasser is on a distinguished road
Smile 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.


__________________
v4.1.2 Developer -- default Template.
-----------------------------------------------
Yasser is offline   Reply With Quote
Old 04-14-2010, 02:10 PM   #19
Customer
 
Join Date: Mar 2010
Posts: 1
Rep Power: 0
northwoodsit is on a distinguished road
Default

what settings exactly? Cause I have the same issue on localhost
northwoodsit is offline   Reply With Quote
Old 12-17-2010, 09:29 AM   #20
Customer
 
Join Date: Dec 2010
Location: Townsville, Australia
Posts: 1
Rep Power: 0
nakedegg is on a distinguished road
Default

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.
nakedegg is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading from 4.1.2 to 4.1.3 in localhost magicosta Technical Support 3 05-22-2009 10:05 AM
Localhost license expired?! raifs Technical Support 10 04-24-2009 07:59 PM
Running 68 Classifieds on localhost with no connection Eric Barnes Technical Support 3 02-06-2009 11:59 AM


All times are GMT -4. The time now is 09:59 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0