Recent Posts

Pages: [1] 2 3 ... 10
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:

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

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


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?
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.
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:
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.
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.
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.
osDateEvo General Help / Menu items missing
« Last post by ba1122 on May 19, 2017, 11:14:14 AM »

there are some menu items missing, see screenshot.
Any ideas?
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]

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

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

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

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

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

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


osDateEvo Configuration & Installation / Re: download link
« Last post by zanr on May 15, 2017, 04:56:55 PM »
Thank you ;D
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