These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
Previous page12
 

POS Timer - A Reinforcement Timer Web Application

Author
Kossaw
Body Count Inc.
Mercenary Coalition
#21 - 2012-01-09 09:32:14 UTC
RoKiKi ShaBim wrote:
Sent you a mail, but is there any way to edit it from tryng to use "localhost" as the DB connection?


In /protected/config/main.php line 72 - replace "localhost" with the IP address of the server that hosts your MySQL database. Make sure that your MySQL database host will accept remote connections from the server that hosts your POSTimer site.

Quote:

'db'=>array(
'connectionString' => 'mysql:host=localhost;dbname='.$settings[dbname],
'emulatePrepare' => true,
'username' => $settings[dbuser],
'password' => $settings[dbpassword],
'charset' => 'utf8',
'tablePrefix'=>$settings[dbprefix],
),

WTB : An image in my signature

Kossaw
Body Count Inc.
Mercenary Coalition
#22 - 2012-01-09 10:03:41 UTC
StarCrash wrote:
Hey

Any way you could write in if you have the chance small, med , large pos i would but i m not a coder my self.

Also with there be an update to add in the custom offices


Thanks

StarCrash


Patch to add POCO to the list of structures ...

http://code.google.com/p/postimer/downloads/detail?name=_form.php&can=2&q=

Backup and Replace protected/views/pos/_form.php with this version...

WTB : An image in my signature

StarCrash
Spirit Corp
#23 - 2012-02-10 00:34:07 UTC
Sent you a ingame mail coz it kept say contain html so yea

any help would be great
Kossaw
Body Count Inc.
Mercenary Coalition
#24 - 2012-02-10 19:51:36 UTC  |  Edited by: Kossaw
StarCrash wrote:
Sent you a ingame mail coz it kept say contain html so yea

any help would be great


OK - So you moved your web site and are moving the POS timer app to a new host. This is the important bit of your error message ......


Quote:
is_dir() [function.is-dir]: open_basedir
restriction in effect. File(..) is not within the allowed path(s):

WTB : An image in my signature

Kossaw
Body Count Inc.
Mercenary Coalition
#25 - 2012-02-14 11:32:47 UTC
Starcrash


The problem is a setting in your Virtual Host configuration. Since you probably cant get your web host to change this for you I have sent you a temporary work around until I can get this problem fixed.

WTB : An image in my signature

robo tim
#26 - 2012-04-04 01:02:37 UTC
Any idea on when u might put in custom offices to the timer list? just something new with RF timers Big smile
Kossaw
Body Count Inc.
Mercenary Coalition
#27 - 2012-04-15 02:17:11 UTC
robo tim wrote:
Any idea on when u might put in custom offices to the timer list? just something new with RF timers Big smile


Theres a patch available for download on the google code site

WTB : An image in my signature

robo tim
#28 - 2012-06-20 12:11:18 UTC
Had to re-install it on a new host but i cant seem to get it working

Quote:
Warning: require_once(/home/******/public_html/postimer/../framework/yii.php) [function.require-once]: failed to open stream: No such file or directory in /home/******/public_html/postimer/index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required '/home/******/public_html/postimer/../framework/yii.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/postimer/index.php on line 12


any ideas?
Louis Vitton
Viziam
Amarr Empire
#29 - 2012-06-22 13:18:17 UTC
robo tim wrote:
Had to re-install it on a new host but i cant seem to get it working

Quote:
Warning: require_once(/home/******/public_html/postimer/../framework/yii.php) [function.require-once]: failed to open stream: No such file or directory in /home/******/public_html/postimer/index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required '/home/******/public_html/postimer/../framework/yii.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/postimer/index.php on line 12


any ideas?


Check the permissions on the files so that it can be read.
robo tim
#30 - 2012-06-23 17:57:48 UTC
Louis Vitton wrote:
robo tim wrote:
Had to re-install it on a new host but i cant seem to get it working

Quote:
Warning: require_once(/home/******/public_html/postimer/../framework/yii.php) [function.require-once]: failed to open stream: No such file or directory in /home/******/public_html/postimer/index.php on line 12

Fatal error: require_once() [function.require]: Failed opening required '/home/******/public_html/postimer/../framework/yii.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/********/public_html/postimer/index.php on line 12


any ideas?


Check the permissions on the files so that it can be read.


No joy, i cant remember how i got this to work last time.... its really bugging me.
Planek
Destructive Influence
Northern Coalition.
#31 - 2012-06-24 05:08:36 UTC
Having the same issue as robotim there.


( ! ) Warning: require_once(C:\wamp\www/../framework/yii.php): failed to open stream: No such file or directory in C:\wamp\www\index.php on line 12


( ! ) Fatal error: require_once(): Failed opening required 'C:\wamp\www/../framework/yii.php' (include_path='.;C:\php\pear') in C:\wamp\www\index.php on line 12
Planek
Destructive Influence
Northern Coalition.
#32 - 2012-06-24 05:40:20 UTC
I fail I did not read this. I fixed my existing error :) Now just having this error. CDbException
CDbConnection failed to open the DB connection

Kossaw wrote:
Yes, you can do this.

1. Upload the POSTimer files to a new folder on your web host. You will end up with directories something like ...

\mytimersite\assets\
\mytimersite\css\
\mytimersite\images\
\mytimersite\protected\
\mytimersite\themes\
\mytimersite\index.php


2. Now install the Yii framework directory into the same root as the application. You will end up with a directory something like
...

\mytimersite\framework\yii.php <- this is the important startup file
\mytimersite\framework\base\
\mytimersite\framework\ - lots more files -
etc

3. Modify \mytimersite\index.php line 4 to point to the Yii install directory and the Yii startup file.

$yii=dirname(__FILE__).'/framework/yii.php';

should work (I haven't tested it) otherwise try

$yii=/mytimersite/framework/yii.php;



Let me know how you get on and I will update the install notes as required.
robo tim
#33 - 2012-06-26 14:39:03 UTC
thanks for the fix planek... im now on the same issue as you. i have checked the timer settings and everything is correct.

So im a bit confused
Kossaw
Body Count Inc.
Mercenary Coalition
#34 - 2012-07-14 03:45:00 UTC  |  Edited by: Kossaw
Quote:
I fixed my existing error :) Now just having this error. CDbException CDbConnection failed to open the DB connection


Sorry, haven't been monitoring this thread much.

it's most likely that you have not set the correct user name and password for the MySQL database. You cannot modify these using the settings web page - Instead you have to directly edit them in the config file : /protected/config/settings.ini. This is to prevent anyone from messing with the database connection unless they have control panel access to the web site.


Quote:

If this is a new installation, copy /protected/config/settings.ini.template to /protected/config/settings.ini

Changes will be required in the following lines of /protected/config/settings.ini
dbname = "postimer"
dbuser = "your_mysql_username"
dbpassword = "your_mysql_password"

You should now be able to log in

WTB : An image in my signature

Previous page12