I bought a script from built2go and I can't seem to get it installed. I created the database needed and put the password and what not in, but when it goes to create the tables I get the following error: I get this error on the first step: Warning: include_once(/home/extremh8/public_html/xqpx/rateme/adminpanel/func.php) [function.include-once]: failed to open stream: No such file or directory in /home/extremh8/public_html/xqpx/config.php on line 84 Warning: include_once() [function.include]: Failed opening '/home/extremh8/public_html/xqpx/rateme/adminpanel/func.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/extremh8/public_html/xqpx/config.php on line 84 This error after the 2nd step (which is inputting the database information that I have already created: Warning: mysql_query() [function.mysql-query]: Access denied for user 'extremh8'@'localhost' (using password: NO) in /home/extremh8/public_html/xqpx/adminpanel/sql.php on line 10 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/extremh8/public_html/xqpx/adminpanel/sql.php on line 10 DB TABLE ERROR: Problem: Access denied for user 'extremh8'@'localhost' (using password: NO)
it is giving database problem see Last msg is Access Denied you have to give privileges to database username and pass.. Try it
does this file exist? rateme/adminpanel/func.php and it has the correct path? how did you upload the script: ftp or cpanel (and extract zip)
Warning: include_once(/home/extremh8/public_html/xqpx/rateme/adminpanel/func.php) [function.include-once]: failed to open stream: No such file or directory in /home/extremh8/public_html/xqpx/config.php on line 84 public_html/xqpx/rateme/adminpanel/func.php file is missing-check your directories configuration.Regards!
This is what I get when I change the config.php to the correct path: Fatal error: Unable to read 4307 bytes in /home/extremh8/public_html/xqpx/adminpanel/system_cls.php on line 0 I used ftp to upload the script.
looks like the script is encoded In order to run encoded files you need to install Zend Optimizer. This error indicates that you have an old version of Zend Optimizer installed.
OK, use ftp client , log-in and right-click on the adminpanel directory, then set 777 permission for folder,sub-folders and files and try install again.
K, I used ioncube. The first error on step one I no longer get. Now these: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'extremeh8_xqpx'@'localhost' (using password: YES) in /home/extremh8/public_html/xqpx/adminpanel/db.php on line 2 Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'extremh8'@'localhost' (using password: NO) in /home/extremh8/public_html/xqpx/adminpanel/db.php on line 3 Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/extremh8/public_html/xqpx/adminpanel/db.php on line 3 Rate My Photo Install Warning: mysql_query() [function.mysql-query]: Access denied for user 'extremh8'@'localhost' (using password: NO) in /home/extremh8/public_html/xqpx/adminpanel/sql.php on line 10 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/extremh8/public_html/xqpx/adminpanel/sql.php on line 10 DB TABLE ERROR: Problem: Access denied for user 'extremh8'@'localhost' (using password: NO)
well, in this case, it looks like you have provide a wrong db account most probably the username in cpanel, usually the username is appended with the name of the db you're using.. ex: dbname_username
DB TABLE ERROR: Problem: Access denied for user 'extremh8'@'localhost' (using password: NO) No password given in your config file. Edit: config file I mean /home/extremh8/public_html/xqpx/config.php
This is the config file, it doesn't ask for database name or pw anywhere: <?php /* $Id: config.php,v 1.3 2006-03-21 13:23:36-07 brian Exp brian $ */ // vim: expandtab sw=4 ts=4 sts=4: ######################################################################## ## Built2Go PHP RateMyPhoto v1.0 ## ## ---------------------------------------------------------------- ## ## Copyright © Big Resources, Inc. All Rights Reserved. ## ## This software must be used in accordance with its licensing ## ## terms and conditions at: http://www.built2go.com/faq.php ## ## ## ## This file may not be redistributed in whole or significant part. ## ## ---------------- BUILT2GO IS NOT FREE SOFTWARE ----------------- ## ######################################################################## /* Set your language... Code: eng for english, nor for norwegian or other... */ $language = "eng"; /* allows you to check over photos submitted before they go live 1 = live on submit 2 = pending */ $SetPending = '2'; $AdminAllowComments = '1'; // Allow Comments on Site $AdminAllowMsg = '1'; // Allow Private Messages on Site /* Site url, ONLY change if you add the script to a sub folder under root. If you did add it to a sub folder then it would be like this: define('SITE_URL', "http://".$_SERVER['SERVER_NAME']."/somefolder"); DO NOT change the $_SERVER['SERVER_NAME'] variable. */ define('SITE_URL', "http://".$_SERVER['SERVER_NAME'].""); //no ending slash. /* Site path, ONLY change if you add the script to a sub folder under root. If you did add it to a sub folder then it would be like this: define('FULL_PATH', $_SERVER['DOCUMENT_ROOT']."/somefolder"); DO NOT change the $_SERVER['DOCUMENT_ROOT'] variable. for IIS users you will need to add this manually. eg: c:/Inet/www/path/script_name define('FULL_PATH', "c:/Inet/www/path/script_name"); */ define('FULL_PATH', $_SERVER['DOCUMENT_ROOT'].""); //no ending slash. /* Your emailadress. BE SURE TO SET. */ $from_address = "admin@xqpx.com"; define('FLOOD_TIMEOUT',"1800"); // defines max time they have to wait before sending messages. used for slowing down spam define('MAXFILE_SIZE',"500000"); // defines max file size for uploaded images define('MAXIMAGE_W_SIZE',"450"); // defines max image width size for images define('MAXIMAGE_H_SIZE',"450"); // defines max image height size for images define('LOWESTIMAGE_W_SIZE',"66"); // defines Lowest image width size for thumbnail images /* How many members do you want per page*/ $admin_member_per_page = 25; /* Number of profiles per each page */ $number_of_ads_per_page = 16; //multiples of 4 define('CHARSET',"iso-8859-1"); // charset for content_type. only use iso-8859-1 or utf-8 define('TABLE_PREFIX',""); // mysql table prefix /* Table names must be set here Do Not edit the TABLE_PREFIX below. */ $admintbl = TABLE_PREFIX."admin"; $usr_tbl = TABLE_PREFIX."users"; $cat_tbl = TABLE_PREFIX."categories"; $comment_tbl = TABLE_PREFIX."comments"; $msg_tbl = TABLE_PREFIX."emailmesg"; $pic_tbl = TABLE_PREFIX."picture"; $secure_image = TABLE_PREFIX."security_images"; $rating_tbl = TABLE_PREFIX."rating"; $sess_tbl = TABLE_PREFIX."session"; // set to on (1) it will NOT clean out the session db table automatically. $GLOBALS['noshutdownfunc'] = 1; // Do not edit below unless you change install directory: $upload_dir = FULL_PATH."/pictures"; // no ending slash define('VERSION',"1.46.4"); // version of Rate My Photo include_once(FULL_PATH."/adminpanel/func.php"); ?>
Sorry, my bad Please check db.php and line 1 too - is this include: if yes, check this included file for options too. Same for sql.php above line 10.