|
|||||||||||||||
|
I didn't realize much to implement this script for free web hosting so. This script is not really good for free web hosting since it creates lots of user_log in database and need cron tab, which is not in free hosting, to clean the database. I will explain the variable for you config here: $site_url is the main URL of your website, the value should end at the domain name, not include any directory. so your value should be
$script_dir is the directory where your script located. Not the full path of script directory so your value should be
This is important because it will use in several in script. so you might add
and replace the old variable with this $script_path = $home_path . $script_dir; this will help you. the configuration file has been add some variable and fixed some mistake that might happen easily so it will come with next release. Also I have create the self installer which is help to install and config very much. It will release with next package soon! |
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
Thanks Tony I'lll continue tests ,i was developer (c++ and MMlingo..some years ago..) but fortunely my brain is become quiet with age Ok.. i had too some good ˜alpha-testers and i rewrite my apps severe times to reach the goal really useful,instead of a main idea when started. I considered to work on a free web site just to make tests, i met you searching for a production script, but i was not satisfied from commercials NOR osDate ...i installed several scripts, your F&L seems so immature to become a lead... You are a good programmer and i'm impressed from your spirit You can build new, and trace your way as you need! Hope my messages may be useful to follow your rules! Thanks for the base, The self installer, will needs to be as you can look in CMS and similars, as we know we dont need to reinvent the weel! Users are often like child.. So let the mysql query to be executed via php. Consider the alpha version, to be installed continuously from Beta testers (..me at now) So maybe useful a button EMPTY DATABASE tables (DROP the database isn't possible from both, free and my regular hosting service for security reason,so i need to open phpmyadmin of proprietary Control Panel, and manually drop the datatbase) LEt users to choose the encoding and furnish a double install .sql file to be choosed automatically from the installer, made when user choose language ( you sure need the thai language!!!! Then korean chinese greek and so on..) and reccomending a chmod 777 after the package upload, let the config fileto be rewrite, if doesnt exists Then alerts if config.php also exists and is writeable (...) I can consider dont rewrite entire settings of config, but only to empty and repopulate the tables with samples. The CRON jobs dont need to be started from server ! I had some troubles and solved in the most idiot way,sorry i have not the script but i can try to suggest how... As wrote using PHP i have problems with syntax and i continue "think" in C.. so i create a "class" making some directives . i can use this class starting from the home page of the site or along the php script, when calling the class to write the most huge log file. Choose the preferred alghorithm to compare Two number , use something will increase on your site, maybe a multiple I.E. of 100..?... (each 100 visitors start the job) then apply somewere a simple IF-THEN not really a cron but works .... Silly Way to start a mysql query and some deletions on logs:
in your preferences to avoid to fit the database ................ Wanna not be a master,i cant do a big work like your. Gonna now using the script. It open. NExt thread on next errors. ) Bye Good work! Daniele ------------- a note consider your script to become complete and self protective from users lacks, ..the ,htaccess file, as an old Apple user, i dont know what is... When installed on a Free web service,the script appair wont works, in some case seems dont exists ...but listed fom ftp. The normal user, -not patient -in rush - without time-scared from to loose the work, dont realize what can be happens -will say: this script wont works ....... Why apache hide the directory ?... ??? This happen on my Free host and not on my regular... mah.. i deleted the htaccess file, also please, help me telling me about contained instructions. If they may fits diverse situations consider to make it selectable from the installer |
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
regarding on .htaccess file It is not directory, It is a file. Some web hosting hide it, but usually paid web hosting allow to use. when you upload it might not appear, but it is there. Usually if it doesn't allow to use, it will show 500 server error. Then just upload a new empty to replace. hope this help. |
|||||||||||||||
|
|||||||||||||||