![]() |
![]() |
![]() |
||||
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 |
I have a plan B
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
|
Is there any TGPX php7.4 help around?
I set up the latest TGPX script set up for 7.4 PHP by the AdultList people and it is working just fine, but I need some help with one thing.
There is a utility program named shuffle.php which mixes is up all the fhg's randomly. It has to be executed from the CMD using SSH. The shuffle.php file goes in the admin directory of TGPX folder on my server. I got all the way to issuing this command: /usr/local/bin/php shuffle.php and then got this error message: Could not open input file: shuffle.php Anyone got any ideas about why this might not be working? Or has anyone tried it?
__________________
CryptoFeeds |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
That's not an issue of php version, that's an issue of the shuffle.php file not being in the current directory. You need to cd to the admin directory first.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
I have a plan B
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
|
Quote:
Graciously the staff at MojoHost puts up with my time-wasting crapola and helps me get through these periods of abject stupidity. I raise a glass to everyone smarter than me! At least, I got a post count out of this. ![]()
__________________
CryptoFeeds |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Southern California
Posts: 3,730
|
Oh man I actually switched a TGPX site recently because I thought it couldn't run on PHP 6+, whoops!
![]() ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
|
There was never a PHP 6 that was generally released, it went from 5.6 to 7.0.
6 was skipped because it was in development forever and generally just got a bad reputation.
__________________
Mechanical Bunny Media Mechbunny Tube Script | Mechbunny Webcam Aggregator Script | Custom Web Development |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
Confirmed User
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
|
Quote:
Turns out, I was using the wrong app for the plugin. Two programs have a similar name and I was using the wrong one. Even though I was reading the name over and over... ![]() ![]()
__________________
================================================== ============================ Help, HELP!.... Jane, Stop This Crazy Thing!!!!!! Stop renting software! ![]() ![]() Take a Bite - Applebite Media ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: Southern California
Posts: 3,730
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Dec 2002
Location: Marina Hemingway
Posts: 2,134
|
I still run TGPX on PHP 4 or 5 LOL
__________________
Asian Babes |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
I have a plan B
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
|
A shot in th dark here:
When I run the shuffle.php, in PHP ver 7.4, I get this error: Parse error: syntax error, unexpected '?' in /home/xxxxx/domains/xxxxxxx.com/public_html/tgpx/includes/common.php on line 2152 line 2152 - $results['preview'] = $parser->images[array_rand($parser->images ?? [null])]['full']; I found this: If you are trying to use the null coalescing operator ?? in a version of PHP prior to PHP 7 you will get this error. Is there a fix with this very limited info?
__________________
CryptoFeeds |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Well the first thing that springs to mind is, are you definitely running PHP 7.4?
Login to your box and type php -v
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
I have a plan B
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
|
Quote:
Well, let me qualify that. The domain itself is using a PHP 5.6 script, but the directory that TGPX is in has been enabled for PHP 7.4. I've contacted my host to see if that directory is still enabled for 7.4. That might be the issue. Although I don't know how it would have reverted to 5.6.
__________________
CryptoFeeds |
|
![]() |
![]() ![]() ![]() ![]() ![]() |