Friend & Love Community and Support Forum  


Dating.zip ...Success!
Date: 2006/10/21 03:26 By: machelp Status: User  
Karma: 0  
Small Heart

Posts: 15
graphgraph
Ok i got the new database and it works fine.
I installed a fresh Ubolratana 1.1.5SP


The first change i made was to CLEAN the .htaccess file
My host is a free hosting service and i think something interfere with .
This was a unsecure but fast solution


Ok run the dating.zip on my database
Configure the config.php

Got doubt on server path.

I connect to my host:

The first warnings:


Warning: No database selected in htdocs/solincitta/includes/ez_sql_mysql.php on line 204

Warning: Invalid argument supplied for foreach() in show-new-member.php on line 12


Solved , was a mistake in phisical address
here i report a section with my settings

Code:

 //==============================================// // website section //==============================================// //website name - show in title $site_name "Solincitta'"; //website url - use in serveral place $site_url "http://solincitta.byethost9.com/solincitta";  //end without fore slash $script_dir =  "/var/www/virtual/solincitta.byethost9.com/htdocs/solincitta"//start with foreslash, end without fore slash. If you install in root directory or subdomain, just  put fore slash.




Some doubt again on mail settings
Hope it needs 3 email address, nothing more..?

$system_email = "machelp/ at / email.it"; (hidden here for SPAM)
$customerservice_email = "";
$testaccount_email = "";





You are a great worker !
Thanks for the installer


I stop here cause is LATE night in italy..
See you soon for other tests.

Thanks

Daniele

Post edited by: machelp, at: 2006/10/21 05:29
Click here to see the profile of this user The administrator has disabled public write access.

Re:Dating.zip ...Success!
Date: 2006/10/21 04:14 By: admin Status: Admin  
Karma: 1  
Admin

Posts: 42
graph
thanks for the reporting.

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
Code:

 $site_url "http://solincitta.byethost9.com"




$script_dir is the directory where your script located. Not the full path of script directory

so your value should be
Code:

 $script_dir =  "/solincitta";


This is important because it will use in several in script.

so you might add

Code:

 $home_path $_SERVER['DOCUMENT_ROOT'];



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!
Click here to see the profile of this user The administrator has disabled public write access.

Re:Dating.zip ...Success!
Date: 2006/10/21 11:55 By: machelp Status: User  
Karma: 0  
Small Heart

Posts: 15
graphgraph
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.. needs help on what you intend sure and simple for you ;;;

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:

  • Check the visitors number

  • Compare the number ,arbitrary you set as "max lenght" of log_table,
    in your preferences to avoid to fit the database

  • execute the works on table

  • End if


  • ................
    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
    Click here to see the profile of this user The administrator has disabled public write access.

    Re:Dating.zip ...Success!
    Date: 2006/10/21 14:41 By: admin Status: Admin  
    Karma: 1  
    Admin

    Posts: 42
    graph
    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.
    Click here to see the profile of this user The administrator has disabled public write access.

    sourceforge-logo.png © 2006 Friend & Love Team All rights reserved. • GPL License InformationProject on SouceForge.netTop^