Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-14-2014, 04:04 PM   #1
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
TradeX error, need some suggestions

Hey guys,
I've installed TradeX from JMB but it's displays error whenever i'm trying to do anything inside control panel, error says:

"Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/home/xxx.com/public_html/tradex/lib/global.php on line 88
A fatal error has occurred: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/home/xxx.com/public_html/tradex/lib/utility.php on 996"

i was reading topics on unofficial board but didnt find anyone who had same problem.

any idea?
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:12 PM   #2
BSleazy
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
I think that's something your host can change on the server. I've had that issue with another script.
__________________
icq 156131086
BSleazy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:13 PM   #3
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
tried this way. my admins told my my script is to old probably for my php on the server.
i'm not accepting this answer, to many ppl are using tradex - i doubt they are all on old versions of php.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:22 PM   #4
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
http://forums.unofficialjmbsupport.c...php?board=18.0
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:22 PM   #5
BSleazy
Confirmed User
 
Industry Role:
Join Date: Aug 2002
Location: USA
Posts: 6,721
Ok ya I can't remember if the host did something or if I changed a php setting or what but I know I didn't modify the script.
__________________
icq 156131086
BSleazy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:23 PM   #6
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by candyflip View Post
i read this exactly page. didn't find my error or maybe missed it? is it somewhere there?
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:25 PM   #7
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by BSleazy View Post
Ok ya I can't remember if the host did something or if I changed a php setting or what but I know I didn't modify the script.
thanks for trying.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:26 PM   #8
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
Quote:
Originally Posted by druid66 View Post
i read this exactly page. didn't find my error or maybe missed it? is it somewhere there?
You can also get to the old JMB Support Forum archive. It's on a subdomain, but it's there.

Or ask your question there on that board
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 04:28 PM   #9
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by candyflip View Post
You can also get to the old JMB Support Forum archive. It's on a subdomain, but it's there.

Or ask your question there on that board
ill browse old JMB threads tomorrow maybe it's some older error but i doubt tbh i think it's new one.

as for asking, i've tried some time ago, after almost week of waiting i gave up.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 06:20 PM   #10
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
It looks like it probably is related to your php version. TradeX was unmaintained for a while.

Quick Googlefu which might put you on track:

http://blog.randell.ph/2010/04/15/wa...zone-settings/

http://askubuntu.com/questions/33201...-settings-what

http://forums.oscommerce.com/topic/3...zone-settings/
__________________

You don't like my posts? Put me on ignore or fuck right off. I'll say what I want.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 06:33 PM   #11
CrazyMartin
Confirmed User
 
Join Date: Jan 2009
Posts: 340
Druid, you should ask me today when we spoke

you have to add date setitngs to php.ini

for example
date.timezone = 'America/Toronto'

uncomment date.timezone and put correct timezone

then restart httpd server

but if you are on virtualhost it can be problematic...

Last edited by CrazyMartin; 06-14-2014 at 06:36 PM..
CrazyMartin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 06:41 PM   #12
CrazyMartin
Confirmed User
 
Join Date: Jan 2009
Posts: 340
or just put this code inside problematic php file

date_default_timezone_set('Europe/Lisbon');

set timezone where your server is located

available timezones are on php site, i can't post a link because i have less than 30 posts
CrazyMartin is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-14-2014, 09:17 PM   #13
Martin Sparrow
So Fucking Banned
 
Join Date: Jun 2009
Posts: 121
Quote:
Originally Posted by CrazyMartin View Post
or just put this code inside problematic php file

date_default_timezone_set('Europe/Lisbon');

set timezone where your server is located

available timezones are on php site, i can't post a link because i have less than 30 posts
That

Or else;
fix the set your server properly up

If not;

require doctor

Martin Sparrow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 02:47 AM   #14
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by CrazyMartin View Post
Druid, you should ask me today when we spoke

you have to add date setitngs to php.ini

for example
date.timezone = 'America/Toronto'

uncomment date.timezone and put correct timezone

then restart httpd server

but if you are on virtualhost it can be problematic...
didn't wanted to bother you, alread took a lot of your time, thanks a lot :D


Quote:
Originally Posted by signupdamnit View Post
It looks like it probably is related to your php version. TradeX was unmaintained for a while.

Quick Googlefu which might put you on track:

http://blog.randell.ph/2010/04/15/wa...zone-settings/

http://askubuntu.com/questions/33201...-settings-what

http://forums.oscommerce.com/topic/3...zone-settings/
Thank you very much for links, i've tried to google it but i wasn't sure how to adress my problem, tried partially cut of sentence of error but didn't work.

Quote:
Originally Posted by Martin Sparrow View Post
That

Or else;
fix the set your server properly up

If not;

require doctor

i'm lost cause to doctors :D



ok guys, i'm off to fix it, thanks everyone!
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 03:34 AM   #15
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by CrazyMartin View Post
or just put this code inside problematic php file

date_default_timezone_set('Europe/Lisbon');

set timezone where your server is located

available timezones are on php site, i can't post a link because i have less than 30 posts
Yes that is a proper way to resolve problem,but if you are lazy,you can simply add @ to problematic line
(@ is suppressor which ignores warning messages)
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 03:41 AM   #16
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by KlenTelaris View Post
Yes that is a proper way to resolve problem,but if you are lazy,you can simply add @ to problematic line
(@ is suppressor which ignores warning messages)
since i'm unfamiliar with php and CrazyMartin is probably not up yet, i've done as you advised and used @ sign next to problematic 996 line in php file and script it working!

thanks a lot!

my php looks like this now:


function stats_check_update_time()
{
global $C;

if( !isset($C['base_url']) )
{
return;
}

$now = time();

if( !file_exists(FILE_TIME_STATS) )
{
file_create(FILE_TIME_STATS);
}

@ $last = filemtime(FILE_TIME_STATS);
@ $date_now = date('YmdHi', $now);
@ $date_last = date('YmdHi', $last);

if( $date_now != $date_last )
{
$fp = fopen(FILE_TIME_STATS, 'w');
flock($fp, LOCK_EX | LOCK_NB, $would);

if( $would )
{
fclose($fp);
return;
}
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 05:25 AM   #17
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
ok guys, not so easy as i thought.

using @ sign doesn't work for long range, script need this date to be set properly to actually count clicks and stuff..

can someone of you look into script pasted above and show me how to implement correct value into it?
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 06:08 AM   #18
Martin Sparrow
So Fucking Banned
 
Join Date: Jun 2009
Posts: 121
Quote:
Originally Posted by druid66 View Post
ok guys, not so easy as i thought.

using @ sign doesn't work for long range, script need this date to be set properly to actually count clicks and stuff..

can someone of you look into script pasted above and show me how to implement correct value into it?

If you can change your php.ini
Just do this:


Quote:
Originally Posted by CrazyMartin View Post
Druid, you should ask me today when we spoke

you have to add date setitngs to php.ini

for example
date.timezone = 'America/Toronto'

uncomment date.timezone and put correct timezone

then restart httpd server

but if you are on virtualhost it can be problematic...
Martin Sparrow is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 06:12 AM   #19
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by Martin Sparrow View Post
If you can change your php.ini
Just do this:
admins done this yday for me, i think it's my time to change smth in my script now. i just don't know how to fix this error which is on the 996 line of utility.php the one that i've override with @.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 10:05 AM   #20
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by druid66 View Post
ok guys, not so easy as i thought.

using @ sign doesn't work for long range, script need this date to be set properly to actually count clicks and stuff..

can someone of you look into script pasted above and show me how to implement correct value into it?
Really ?Well i guess i should pay more attention to it.Tho i ditched tradex,wanted to install it to one domain,it was throwing some unkown error so i simply deployed script which is usually use and it's also free.Tho,i think same date error occur on every jbmsoft script,now if someone would fix that on current unofficial github.Perhaps we could make our own github channel,we could also include some mods.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 10:13 AM   #21
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by KlenTelaris View Post
Really ?Well i guess i should pay more attention to it.Tho i ditched tradex,wanted to install it to one domain,it was throwing some unkown error so i simply deployed script which is usually use and it's also free.Tho,i think same date error occur on every jbmsoft script,now if someone would fix that on current unofficial github.Perhaps we could make our own github channel,we could also include some mods.
tgpx, tradex - all are open sources now, if anyone contribute to that scripts his pieces, fixes, mods and make it public it can grow as wordpress grow - all free.

other trade scripts those "free" ones always took part of your traffic and probably never will be really free and open.

it's worthy to spent some time and fix it. me from my side - when i'll have it fixed finally i'm gonna post solution here.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 10:56 AM   #22
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by druid66 View Post
tgpx, tradex - all are open sources now, if anyone contribute to that scripts his pieces, fixes, mods and make it public it can grow as wordpress grow - all free.

other trade scripts those "free" ones always took part of your traffic and probably never will be really free and open.

it's worthy to spent some time and fix it. me from my side - when i'll have it fixed finally i'm gonna post solution here.
Well i wanted to upgrade tradex,but seems just like a toomuch hassle.And there is a one problem which i have no idea how to fix it - tradex generate like zillion of cache files which i find it as big no no as a lot of small files generating is bad for hard drive operating,and that was just a single small site,imagine a network of sites howmuch they would generate files.There is a improvised fix where you can run a cron to delete old cache files but it should be real fix not improvisation,that fix is like preventing flood of water by setting water flood to go outside instead just closing pipe.But when it comes to tgpx i think that one it's worth to work on it,as other script one way or another sucks,plus i already made some modifications on it.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 11:03 AM   #23
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by KlenTelaris View Post
Well i wanted to upgrade tradex,but seems just like a toomuch hassle.And there is a one problem which i have no idea how to fix it - tradex generate like zillion of cache files which i find it as big no no as a lot of small files generating is bad for hard drive operating,and that was just a single small site,imagine a network of sites howmuch they would generate files.There is a improvised fix where you can run a cron to delete old cache files but it should be real fix not improvisation,that fix is like preventing flood of water by setting water flood to go outside instead just closing pipe.But when it comes to tgpx i think that one it's worth to work on it,as other script one way or another sucks,plus i already made some modifications on it.
interesting, so you are not recommending tradex?

which one would be ok?

i didn't know about this cache files.
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 01:09 PM   #24
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by druid66 View Post
interesting, so you are not recommending tradex?

which one would be ok?

i didn't know about this cache files.
Well as you said it is only script at the moment which is fully free,meaning dont take any skim.Script which i use dont take any skim either but that is because i have special relationship with author,for other people it takes skim as well.But still you can use tradex if you dont mind that cache problem.While i was sort of planning to overhaul tradex(make my own version of it),script which i currently use is so much more powerful,not just of tradex also more powerful then any other trade script,it simply there is no sense to bother with relativity simple tradex.For example,i just set to display on single file full stats of each site on left site from my original network,and on right side stats of my asian network(where i trade with you)and it is just look awesome ,and tradex currently dont have that capability.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 01:59 PM   #25
1215
Boner Party
 
1215's Avatar
 
Industry Role:
Join Date: Aug 2004
Posts: 2,376
Upgrade to trade expert.
__________________
Best Hosting
1215 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-15-2014, 04:37 PM   #26
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by KlenTelaris View Post
Well as you said it is only script at the moment which is fully free,meaning dont take any skim.Script which i use dont take any skim either but that is because i have special relationship with author,for other people it takes skim as well.But still you can use tradex if you dont mind that cache problem.While i was sort of planning to overhaul tradex(make my own version of it),script which i currently use is so much more powerful,not just of tradex also more powerful then any other trade script,it simply there is no sense to bother with relativity simple tradex.For example,i just set to display on single file full stats of each site on left site from my original network,and on right side stats of my asian network(where i trade with you)and it is just look awesome ,and tradex currently dont have that capability.
what script are you using if it's not a secret? is it expensive?
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2014, 01:21 PM   #27
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by druid66 View Post
what script are you using if it's not a secret? is it expensive?
Tradecontrol.No it is actually quite cheap.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2014, 08:35 AM   #28
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
thank you, ill check your script.

guys i don't wanna start new topic, tell me please is it possible to copy galleries+thumbs to another domain? i've installed new copy of tgpx on another domain - do not want it to be handled by one main script - i prefer from few reasons to have different copy on every domain, so i've backed up thumbs and galleries using backup option and i've tried to restore it on new one but it didn't work, any way to do this?
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2014, 08:45 AM   #29
Klen
 
Klen's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
Quote:
Originally Posted by druid66 View Post
thank you, ill check your script.

guys i don't wanna start new topic, tell me please is it possible to copy galleries+thumbs to another domain? i've installed new copy of tgpx on another domain - do not want it to be handled by one main script - i prefer from few reasons to have different copy on every domain, so i've backed up thumbs and galleries using backup option and i've tried to restore it on new one but it didn't work, any way to do this?
Yes i think it is,tgpx does have option to bulk import galleries with predefined thumb.Tho,not sure can count clics be transfered.Also dont remember is there gallery export function in tgpx admin,but even if it is not,you can do that by doing mysql table data export.
Klen is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2014, 09:02 AM   #30
druid66
Confirmed User
 
Join Date: Feb 2006
Posts: 994
Quote:
Originally Posted by KlenTelaris View Post
Yes i think it is,tgpx does have option to bulk import galleries with predefined thumb.Tho,not sure can count clics be transfered.Also dont remember is there gallery export function in tgpx admin,but even if it is not,you can do that by doing mysql table data export.
gallery export! that was the keyword i needed.
seiously i've been looking for database backup/restore but i forget it should be called export.
manual describes it with details here for example: http://www.javbeauties.com/tgpx/admi...es-export.html

thanks a lot for pointing this one out, sometimes when i'm overthinking i'm clouding obvious solutions :D
__________________
Pure Japan japanese babes blog
druid66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.