![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Carpe Visio
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
__________________
Pure Japan japanese babes blog |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
thanks for trying.
__________________
Pure Japan japanese babes blog |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Carpe Visio
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
|
Quote:
Or ask your question there on that board ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
as for asking, i've tried some time ago, after almost week of waiting i gave up.
__________________
Pure Japan japanese babes blog |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
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 ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
So Fucking Banned
Join Date: Jun 2009
Posts: 121
|
Quote:
Or else; fix the set your server properly up If not; require doctor |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 | |||
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
Quote:
Quote:
ok guys, i'm off to fix it, thanks everyone!
__________________
Pure Japan japanese babes blog |
|||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
(@ is suppressor which ignores warning messages) |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | ||
So Fucking Banned
Join Date: Jun 2009
Posts: 121
|
Quote:
If you can change your php.ini Just do this: Quote:
|
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 | |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
which one would be ok? i didn't know about this cache files.
__________________
Pure Japan japanese babes blog |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
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.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Boner Party
Industry Role:
Join Date: Aug 2004
Posts: 2,376
|
Upgrade to trade expert.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
__________________
Pure Japan japanese babes blog |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 | |
Industry Role:
Join Date: Aug 2006
Location: Little Vienna
Posts: 32,235
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
Confirmed User
Join Date: Feb 2006
Posts: 994
|
Quote:
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 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |