Jump to content

BREZ

Members
  • Posts

    28
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Ireland

BREZ's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I dont believe i ever asked anyone to solve my errors. I mentioned i am not up on PHP, so if i hired a programmer to fix my script, i would not only be missing the chance to learn how to fix it, i really dont believe my pension would stretch that far! Basically, i was really asking what other .php files would determine the LANG so i could go and fix it myself. and, as for some third party script, perhaps i misread both the Heading and subheading of this forum!
  2. Yes i did answer that question in the 2nd line of my post following the post that asked it! I understand, Thank You for your assistance anyway.
  3. Just discovered the LANG is defined in the defines.inc.php This is where the 0 is mentioned. But as i am not up on php i dont know what to replace it with. I have en.dinamic.inc.php en.inc.php defines.inc.php
  4. The problem starts with the installation on a fresh domain and the error log is showing blank. 0.inc.php is not a file in the LANG. The config.inc.php is not defining the LANG. <?php /* ######### ### GRAFX ONLINE DATING BUILDER ################# ############################################################ DATING $Name$ Revision $Revision: 8961 $ Author $Author: lvalics $ Created 03/01/03 $Date: 2008-03-19 07:25:28 +0000 (Wed, 19 Mar 2008) $ Writed by GraFX (webmaster@grafxsoftware.com) Scripts Home: http://www.grafxsoftware.com ############################################################ File purpose * CONFIG FILE ############################################################ */ // define your database informations define( "DB_USR", "myirishm_XXXXXXXX" ); define( "DB_PWD", "XXXXXXXXXX" ); define( "DB_NAME", "myirishm_XXXXXX" ); define( "DB_HOST", "localhost" ); $dir = str_replace("\\","/",dirname($_SERVER['PHP_SELF'])); if (substr($dir,-1)!="/") $dir.= "/"; if (!strstr(PHP_OS, 'WIN')) define("SEPARATOR", "/"); else define("SEPARATOR", "\\"); // define where you index.php URL is, usually is http://www.yourdomain.com define( "INDEX_URL", "http://www.WEBSITE.com/G-Dating/" ); $license=""; @include_once("defines.inc.php"); @include_once("tmp/extraconfig.inc.php"); ?>
  5. Grafxsoftware appears to no longer support their scripts. or at least they are not answering my requests for the past month, plus their support forum has disappeared. I am attempting to install a clean version of their G-Dating script without success. Index.php file attached index.php
  6. BREZ

    Creating Table

    Yes that installed, except for the single 0 in default showed as invalid. This is how it now looks (table1) But according to my Admin cp, db is not installed (cp21) PHP version 5.2.17 MySQL version 5.5.23-55
  7. BREZ

    Creating Table

    This i dont understand.... I am a novice pensioner learning late anyway, i left the default as NONE. Now this happens.. #1067 - Invalid default value for 'prior_auth_number' so i changed the default to NONE Not sure if i should but now..... #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'id) NOT NULL, PRIMARY KEY (`id`)) ENGINE = MyISAM' at line 1
  8. Installing db i got this error.. So i had my first go ever at creating the table. #1067 - Invalid default value for 'pid' The only thing in "default" is NULL as the above suggests.
  9. The script is care2x-2.5_RC2.tar I downloaded it from http://sourceforge.net/directory/natlanguage%3Aenglish/os%3Alinux/freshness%3Arecently-updated/?q=care2x
  10. now, i think i understand a bit more. on my laptop i have a tar.gz folder of the program (15.8mb) on my website i have the extracted files, but cant install them because of this error. Now, on my laptop, if i unzip the tar.gz folder, i can view(and edit) files using my notepad++ editor. This has the find option. and, dont apologize for your english, after all, i am in the Medical trade so its a daily occurrence for me!
  11. Now i am really confused! Have i been searched? Yes i downloaded this project into my download folder, then uploaded it onto my website using ftp. i dont know what is IDE. Sorry i really am a novice at this.
  12. @Jazzman, I possibly could... if i knew how to do that! I am literally a novice with anything above html.
  13. Apologies for the wrong forum, i guess i was in too much haste to ask. the over file reads like this which part can i change to "disable checking" <?php /* * DBVersionOver * * Tests that the running Database Version is >= the supplied parameter */ class DBVersionOver extends BaseTest { var $server; var $username; var $password; var $type; var $version; function DBVersionOver($params) { parent::BaseTest($params); if(!is_array($this->params) || count($this->params) <= 0){ ErrorStack::addError("Invalid parameters, you need to provide the field names and version", ERRORSTACK_ERROR, 'DBVersionOver'); $this->result = INSTALLER_TEST_FAIL; return $this->result; } } function prepareParameters() { $engine =& $GLOBALS['INSTALLER']['ENGINE']; if (isset($this->params['server_field'])) { $server_field = $engine->getField($this->params['server_field']); $this->server = $server_field->value; } else if (isset($this->params['server'])) { $this->server = $this->params['server']; } else { $this->result_message = "Could not determine server name, please provide a server_field or server parameter!"; return FALSE; } if (isset($this->params['username_field'])) { $username_field = $engine->getField($this->params['username_field']); $this->username = $username_field->value; } else if (isset($this->params['username'])) { $this->username = $this->params['username']; } else { $this->result_message = "Could not determine datbase username, please provide a username_field or username parameter!"; return FALSE; } if (isset($this->params['password_field'])) { $password_field = $engine->getField($this->params['password_field']); $this->password = $password_field->value; } else if (isset($this->params['password'])) { $this->password = $this->params['password']; } else { $this->result_message = "Could not determine datbase password, please provide a password_field or password parameter!"; return FALSE; } if (isset($this->params['type_field'])) { $type_field = $engine->getField($this->params['type_field']); $this->type = $type_field->value; } else if (isset($this->params['type'])) { $this->type = $this->params['type']; } else { $this->result_message = "Could not determine datbase type, please provide a type_field or type parameter!"; return FALSE; } if(isset($this->params['version'])) { $this->version = $this->params['version']; } else { $this->result_message = "Could not find required version number, please provide a version parameter!"; return FALSE; } } function perform(){ if ($this->prepareParameters() === FALSE) { $this->result = INSTALLER_TEST_FAIL; return $this->result; } # include ADOdb class files require_once('../classes/adodb/adodb.inc.php'); require_once('../classes/adodb/adodb-errorhandler.inc.php'); # Create ADODB connection object @$db = ADONewConnection($this->type); if (!$db) { $this->result = INSTALLER_TEST_FAIL; $this->result_message = "Cannot create ADODB connection of type $this->type"; return $this->result; } # Construct the database address $address = $this->server; # Connect to the database @$ok = $db->Connect($address, $this->username, $this->password); if (!$ok) { $this->result = INSTALLER_TEST_FAIL; $this->result_message = "Could not connect to $this->dbtype database server $address with username $this->username: ".$db->ErrorMsg(); return $this->result; } # Obtain version information about the database @$info = $db->ServerInfo(); if (!$info) { $this->result = INSTALLER_TEST_FAIL; $this->result_message = "Error getting database server version information: ".$db->ErrorMsg(); return $this->result; } $ver = $info['version']; $target_version = $this->version[$this->type]; if (version_compare($ver, $target_version, '>=')) { $this->result = INSTALLER_TEST_SUCCESS; $this->result_message = "You are running $this->type version $ver which is >= $target_version"; } else { $this->result = INSTALLER_TEST_FAIL; $this->result_message = "You are running $this->type version $ver which is < $target_version"; } return $this->result; } } ?>
  14. Installing a prog on a linux server i get the following error... PHP Version lower than 5.0.0 is required, you are running 5.2.17 can i safely step back, and if so how? I am using cpanel version 11.32.3 (build 23) with root access if that helps but i am not a programmer. PHP version 5.2.17 MySQL version 5.5.23-55
  15. Over the last month i am unable to get any support from the supplier, or even a reply to emails. This is included within the purchase and i like the script itself.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.