Current time: 12-26-2024, 10:44 PM Hello There, Guest! (LoginRegister)


Post Reply 
FreeBSD7 Help with this error, please
Author Message
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #21
RE: FreeBSD7 Help with this error, please
add this patch, not yet perfect.

- fix those error except dmesg.boot, you have to allow and add it manually on basedir.
- fix backup routine


Attached File(s)
.txt  patch-20090330.txt (Size: 45.73 KB / Downloads: 40)
03-30-2009 02:36 PM
Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #22
RE: FreeBSD7 Help with this error, please
Excuse me, how to apply this patch?I understand that this is simply replacing common_functions.php? if you can attach the working common_functions.php
(This post was last modified: 03-30-2009 06:13 PM by server801.)
03-30-2009 06:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #23
RE: FreeBSD7 Help with this error, please
go to first source ispcp directory and issue patch < patch-20090330.txt after that you can reinstall or just copy common_functions.php
03-31-2009 12:30 PM
Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #24
RE: FreeBSD7 Help with this error, please
I did the same file, with the same name.error.may be ready to attach a file?
(This post was last modified: 03-31-2009 08:39 PM by server801.)
03-31-2009 08:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #25
RE: FreeBSD7 Help with this error, please
hmm, did you update your source first to lastest trunk ? becouse that patch is for lastest trunk
04-01-2009 11:59 AM
Find all posts by this user Quote this message in a reply
server801 Offline
Moderator
*****
Moderators

Posts: 349
Joined: Mar 2009
Reputation: 1
Post: #26
RE: FreeBSD7 Help with this error, please
from the date of 28/03/2009 set
04-02-2009 04:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
blocker Offline
Junior Member
*

Posts: 123
Joined: Apr 2007
Reputation: 2
Post: #27
RE: FreeBSD7 Help with this error, please
what is the error ? i need to make sure that my patch can be applied generally and you need special case before I send to you the modified file.
04-02-2009 11:50 AM
Find all posts by this user Quote this message in a reply
artful Offline
Junior Member
*

Posts: 15
Joined: Apr 2009
Reputation: 0
Post: #28
RE: FreeBSD7 Help with this error, please
I install this patch.
has 1 error
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/run/dmesg.boot) is not within the allowed path(s): (/usr/local/www/ispcp/gui/:/usr/local/etc/ispcp/:/var/run/ispcp.lock:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/local/lib/php/20060613/) in /usr/local/www/ispcp/gui/include/phpsysinfo/common_functions.php on line 358

as you add a new reseller error:
Unknown column 'state' in 'field list'
this error occurs even without the patch
04-03-2009 07:05 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #29
RE: FreeBSD7 Help with this error, please
You use a trunk and not the 1.0.0 or ?
Quote:Unknown column 'state' in 'field list'
You have to create the column 'state' in 'field list' on your own and it should work.

Greez BeNe
04-03-2009 07:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
artful Offline
Junior Member
*

Posts: 15
Joined: Apr 2009
Reputation: 0
Post: #30
RE: FreeBSD7 Help with this error, please
i use last trunk version
file trunk\gui\admin\personal_change.php
code:
Code:
$query = "
                UPDATE
                        `admin`
                SET
                        `fname` = ?,
                        `lname` = ?,
                        `firm` = ?,
                        `zip` = ?,
                        `city` = ?,
                        `state` = ?,
                        `country` = ?,
                        `street1` = ?,
                        `street2` = ?,
                        `email` = ?,
                        `phone` = ?,
                        `fax` = ?,
                        `gender` = ?
                WHERE
                        `admin_id` = ?
and trunk\configs\freebsd\database\database.sql
Code:
CREATE TABLE `admin` (
  `admin_id` int(10) unsigned NOT NULL auto_increment,
  `admin_name` varchar(200) DEFAULT NULL,
  `admin_pass` varchar(200) DEFAULT NULL,
  `admin_type` varchar(10) DEFAULT NULL,
  `domain_created` int(10) unsigned NOT NULL DEFAULT '0',
  `customer_id` varchar(200) DEFAULT '0',
  `created_by` int(10) unsigned DEFAULT '0',
  `fname` varchar(200) DEFAULT NULL,
  `lname` varchar(200) DEFAULT NULL,
  `gender` varchar(1) DEFAULT NULL,
  `firm` varchar(200) DEFAULT NULL,
  `zip` varchar(10) DEFAULT NULL,
  `city` varchar(200) DEFAULT NULL,
  `country` varchar(200) DEFAULT NULL,
  `email` varchar(200) DEFAULT NULL,
  `phone` varchar(200) DEFAULT NULL,
  `fax` varchar(200) DEFAULT NULL,
  `street1` varchar(200) DEFAULT NULL,
  `street2` varchar(200) DEFAULT NULL,
  `uniqkey` varchar(255) DEFAULT NULL,
  `uniqkey_time` timestamp NULL DEFAULT NULL,
  UNIQUE KEY `admin_id` (`admin_id`),
  UNIQUE KEY `admin_name` (`admin_name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

Table admin is not a field state!
what type of box should be state?
(This post was last modified: 04-03-2009 07:50 PM by artful.)
04-03-2009 07:35 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)