Recent Posts

Pages: [1] 2 3 ... 10
1
Hi heebeha,

Commenting it out will stop it from displaying all the birthdays and since you must have heaps of birthdays set on the same date, this will happen at least once a year if they are the same date.

There doesn't seem to be a limit on how many birthdays it searches for so maybe disable it in the index.php on line 386:

Find:
Code: [Select]
include("birthday_profiles_display.php");
Change to:
Code: [Select]
//include("birthday_profiles_display.php");
You might need to comment out these lines also under the above code:
Code: [Select]
$bdp = $osDB->getOne( "SELECT user.id FROM ! as user WHERE user.status in (?, ?)  and month(user.birth_date) = month(now()) and dayofmonth(user.birth_date) = dayofmonth(now()) and user.id = ? ", array( USER_TABLE , get_lang('status_enum','active'), 'active', $_SESSION['UserId'] ) );

if (!isset($bdp)) $bdp = 0;

$t->assign('bdp',$bdp);


2
We added this to the index.php file and it solved the problem
<?php ini_set("memory_limit","128M"); ?>

The site was attempting to wish everyone a happy birthday.

Anyone know how I can limit the number of birthday announcements on the homepage?
3
Hi heebeha,

I don't see a 500 error I see a white page which might suggest there is a template error or a database error.

I also checked the Page source which is also empty.

The cache is in the temp/tempate_c/ folder you can delete anything inside the /tempate_c/ folder but I am betting that won't fix the issue.

If the test worked fine then I would suggest you import the user profiles only from that database into this database.
4
We installed 150,000 profiles on our osdate evo 1.2 website and now we are getting a 500 error on the index.php page.

When we loaded 1000 profiles as a test the site worked perfect.   

Is there a cache setting that is causing the site to time out?  Its really weird because its only occurring on the index.php homepage.

See the site working on a page other than the index.php page here: http://dateinasianow.com/index.php?page=services
When you go to the homepage it will not load.  But every other page loads fine, even the search feature works fine

Any advise would be very much appreciated.
5
osDateEvo General Help / Re: Menu items missing
« Last post by Pharg on May 19, 2017, 12:34:45 PM »
Hi ba1122,

Looks like you haven't got the languange loaded or if that's the custom template you were telling me about perhaps some text is missing or as KHDev said, the member needs to be activated with all access like a gold membership.
6
osDateEvo General Help / Re: Menu items missing
« Last post by KHDev on May 19, 2017, 12:22:46 PM »
Just going by the image the missing items maybe down to the user you're logged in as having an expired membership or a membership that doesn't allow access to those items.
7
osDateEvo General Help / Menu items missing
« Last post by ba1122 on May 19, 2017, 11:14:14 AM »
Hi!

there are some menu items missing, see screenshot.
Any ideas?
8
Tips & Tricks / Re: Want to know how to make affiliates name show up on pages.
« Last post by KHDev on May 15, 2017, 05:21:57 PM »
You could probably do something like:

Add something like this to init.php somewhere near the bottom of the file

Code: [Select]
if(isset($_SESSION['ReferalId'])){

$affid2=intval($_SESSION['ReferalId']);
$affName = $osDB->getOne('SELECT name FROM ! WHERE id = ?', array(AFFILIATE_TABLE, $affid2));

if(!empty($affName)){
$t->assign ('affName', $affName);
}

}else{
$t->assign ('affName', '');
}

Then in your template file/s where you want to display it, you could use something like:

Code: [Select]
{if $affName != ''}
<div>
You have been referred by: <b>{$affName}</b>
</div>
{/if}

Just basic, but should point you in the right direction.

:)

9
osDateEvo Configuration & Installation / Re: download link
« Last post by zanr on May 15, 2017, 04:56:55 PM »
Thank you ;D
10
osDateEvo Configuration & Installation / Re: download link
« Last post by KHDev on May 15, 2017, 04:52:32 PM »
Once you have logged in you should, click the Forum tab then scroll down to the osDate Download area in the list of boards, then just click the first topic which has the download link in for the latest version. :)

Pages: [1] 2 3 ... 10