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 05-07-2021, 09:26 AM   #1
ruff
I have a plan B
 
ruff's Avatar
 
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
ruff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-07-2021, 11:35 AM   #2
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
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.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-07-2021, 03:19 PM   #3
ruff
I have a plan B
 
ruff's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
Quote:
Originally Posted by k0nr4d View Post
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.
As it happens, you are correct and I knew that as I referenced it. However, that did not stop me from fucking up and not adding this last part to the command /tgpx/admin. So once again I have missed the obvious when it was staring me right in the face.

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
ruff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-07-2021, 08:34 PM   #4
mechanicvirus
Confirmed User
 
mechanicvirus's Avatar
 
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!
mechanicvirus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2021, 01:26 AM   #5
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,228
Quote:
Originally Posted by mechanicvirus View Post
PHP 6+
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.
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2021, 04:43 AM   #6
Applebite Media
Confirmed User
 
Applebite Media's Avatar
 
Industry Role:
Join Date: Apr 2018
Location: Minneapolis, MN
Posts: 406
Quote:
Originally Posted by ruff View Post
As it happens, you are correct and I knew that as I referenced it. However, that did not stop me from fucking up and not adding this last part to the command /tgpx/admin. So once again I have missed the obvious when it was staring me right in the face.

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.
LOL... i had a similar experience this week with the new mocap gear.... I could not get it to connect to the ip... not wireless or usb. Had written support asking what the hell was going on... Jumped on the forum asking for help.... bla bla bla...

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!
Say NO to Rentware!

Take a Bite - Applebite Media
Applebite Media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-08-2021, 10:48 AM   #7
mechanicvirus
Confirmed User
 
mechanicvirus's Avatar
 
Industry Role:
Join Date: Feb 2005
Location: Southern California
Posts: 3,730
Quote:
Originally Posted by k0nr4d View Post
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.
Looks like I picked the wrong week to quit sniffing glue.
mechanicvirus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2021, 07:51 AM   #8
faxxaff
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
faxxaff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2021, 08:35 AM   #9
ruff
I have a plan B
 
ruff's Avatar
 
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
ruff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2021, 08:48 AM   #10
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
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
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-09-2021, 02:08 PM   #11
ruff
I have a plan B
 
ruff's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Seattle - Miami - St Kitts
Posts: 5,501
Quote:
Originally Posted by redwhiteandblue View Post
Well the first thing that springs to mind is, are you definitely running PHP 7.4?

Login to your box and type php -v
Yep. 7.4
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
ruff 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

Tags
shuffle.php, tgpx, file, set, server, folder, directory, admin, message, ideas, input, command, issuing, /usr/local/bin/php, error, fhgs, people, adultlist, fine, php, php7.4, script, randomly, mixes, executed
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.