transit, i installed the holocms days ago, but the config.php is empty
transit, i installed the holocms days ago, but the config.php is empty
Could somebody please tell me how i run my server publicly from xampp? add me on msn: parka2k8@msn.com
Thanks.
hey guys i got it working (WOOT!) but now this: (awwww)
![]()
let's be normal and uhh, the HC club is not coded jet i think that's the error.. make a new one and run the server agian goodluck
When i register i get like swimsuit thingy not found in database ;S or unknown column swimsuit. when i register
when updating loader in housekeeping i get
Unknown column 'welcome_message' in 'field list''
When entering hotel vb2008 opens up and marks restingDays = (DateTime.Parse(dbRow(2))).Subtract(DateTime.Now).TotalDays + 31 '// Get the amount of resting days with yellow
and i cant enter hotel.. its just the hotel image :S
yea thnx vista, imma try a new one
Update, my friendWhen i register i get like swimsuit thingy not found in database ;S or unknown column swimsuit. when i register
when updating loader in housekeeping i get
Unknown column 'welcome_message' in 'field list''
I like your CMS.
but you need to code groups.
You need more features.
I can help you code groups..
if you want!
Good Day!
:drinks_pe
now i get this wen i try to connect:
![]()
i DID update, i also reupdated but its not working :S
na retro4life it dint work also
Unknown column 'club' in 'field list'
make one on localhost or 127.0.0.1 try that goodluck
To have a problem with Loader, when I get the Server.exe, and I log into client.php he did not connect in Server.exe says the SSO does not exist.
to fix this replacewith:Code:restingDays = (DateTime.Parse(dbRow(2))).Subtract(DateTime.Now).TotalDays + 31 '// Get the amount of resting days
Code:Dim pie() As String pie = Split(dbRow(2), "-") If pie(0).Length = 1 Then pie(0) = "0" & pie(0) If pie(1).Length = 1 Then pie(1) = "0" & pie(1) dbRow(2) = pie(1) & "/" & pie(0) & "/" & pie(2) restingDays = (DateTime.Parse(dbRow(2))).Subtract(DateTime.Now).TotalDays + 31 '// Get the amount of resting days
@vista4life:
i made another account on localhost, it dint work :(
I was looking through the Extras and it said you(GraphiX) still had to make the changelog entries and things, so I wanted to save you some time xD
I'll send it to you on MSN as soon as I see you online =]
Guys, I have fixed the HC Club problem. You'll just have to enter your MySQL database and enter this query :
Should work as its working in my hotel. Allows you to use HC clothes and more...Code:ALTER TABLE `users` ADD `club` VARCHAR( 100 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL AFTER `rank` ;
and now im getting problems entering my hotel... LOL!
It works, thanks =)
Why cant i get my furni when buying? i updated the database :S
How can i change that, that every new user have 500 Credits at start?
That's the function I've coded to check a users' HC days left. It seems to work perfectly for me, could anyone double check it please? xDCode:// Calculate the amount of HC Days left function HCDaysLeft($my_id){ // Query for the info we need to calculate $sql = mysql_query("SELECT months_left,date_monthstarted FROM users_club WHERE userid = '".$my_id."' LIMIT 1") or die(mysql_error()); $tmp = mysql_fetch_assoc($sql); $valid = mysql_num_rows($sql); if($valid > 0){ // Collect the variables we need from the query result $months_left = $tmp['months_left']; $month_started = $tmp['date_monthstarted']; // We take 31 days for every month left, assuming each month has 31 days $days_left = $months_left * 31; // Split up the day/month/year so we can use it with mktime $tmp = explode("-", $month_started); $day = $tmp[0]; $month = $tmp[1]; $year = $tmp[2]; // First of all make the dates we want to compare, do some math $then = mktime(0, 0, 0, $month, $day, $year, 0); $now = time(); $difference = $now - $then; // If this month expired already if ($difference < 0){ $difference = 0; } // Now do some math $days_expired = floor($difference/60/60/24); // $days_expired stands for the days we already wasted in this month // 31 days for each month added together, minus the days we've wasted in the current month, is the amount of days we have left, totally $days_left = $days_left - $days_expired; return $days_left; } else { return 0; } }
Alright, the huge HC update is now on SVN. Enjoy..
Aight thanks, have been waiting for this. ^^
- Nillus