41
onasre
Re: cron job to embty tabel
  • 2008/4/27 4:49

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Thx brother
so when i want to embty another tabel i just add another tabel name below

$query="TRUNCATE xoops_session";

like

$query="TRUNCATE xoops_avatr";


thx
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



42
onasre
cron job to embty tabel
  • 2008/4/26 20:35

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


can some one provide me with php code to make cron job file to empty sessanon table from the database every day? the Xoopscare module did not embty the tabel even i have spicifed one day to embty it
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



43
onasre
Re: can't connect to server - what's going on?
  • 2008/3/30 22:17

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


i have the exact problem and i the only way to fix it like you said to reset the server or create new database and import the old on .. i dont know if this XOOPS problem or Hosting problem , I'm with Servage are you with servage too ? i keep ask them aboutt he problem and they said to create new database bla bla bla ...
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



44
onasre
Re: .htaccess
  • 2008/3/21 4:38

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


it looks ok for me the first part of the code

AddHandler application/x-httpd-php5 .php
AddHandler fcgid-script .php
FCGIWrapper /usr/local/cpanel/cgi-sys/fcgiwrapper .php

Means any file in that directory with a name ending in ".php" will be run using PHP 5, even if ".php" files in all your other directories are using PHP 4 . and this Normal Code that most provided from your Host to handle php5 Database .

the other part

<Files 403.shtml>
order allow,deny
allow from all
</Files>

this to show the Visitor's the error message when the come to page not found in your site
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



45
onasre
share user's tabel
  • 2008/3/11 4:30

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Hey

is there any way that two websites have XOOPS installed in one server with two different database to share the same Tabel user's , so Member can sign on in Both sites with same id and password .
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



46
onasre
Re: Auto backup Module or Script
  • 2008/3/11 4:19

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Thx.

i actually saw this script on hotscripts.com and in his home page but ididt try it because it looks to me hard to install but after you told me you have it i decided to give it shot , and Wohooooooo was easy to install and works perfect .. so thx to you or i would always avoid it .
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



47
onasre
Auto backup Module or Script
  • 2008/3/10 7:50

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Hey all

i did search befor i posed here , but ididt find what i'm looking for .

i want Script or module to do auto Backup for my database , i know how to set up cron job . i have installed the module XOOPS DB Backup & Restore 3.0 but it seemd doest work with 2.0.18 . and its the only module has auto backup opition. and this module wont creat a backup each time you click to creat one u just get blank screen and no fils stored
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



48
onasre
The Number of the Search Result
  • 2008/2/12 7:15

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


when you make a search on the site you get 5 result for each category you search in , i have opened the file search.php and edited line #168 from 5 to 10

$results =& $module->search($queries$andor50);


then the result start shown 10 result for each category but i was wonder if i have to change the line #193

if ( $count >= ) {


or if i have to change any other code's
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



49
onasre
Re: cronjob"empty sql tabel"
  • 2008/1/12 5:42

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


i tried it but i do not know how to specif a table to embty , the module let you embty season table but i need to specif another table i do not know what the right code to put
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.



50
onasre
cronjob"empty sql tabel"
  • 2008/1/11 5:11

  • onasre

  • Not too shy to talk

  • Posts: 150

  • Since: 2006/8/12


Hello

is there any one can write me small script to run it as cronjob to embty the season tabel in specif time , daily or hourly ,

thx
Whatever Hits You , Never was to Mess you , and Whatever Messed U , Never Was to Hit You.




TopTop
« 1 2 3 4 (5) 6 7 8 ... 13 »



Login

Who's Online

153 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits