Help me with install.php please

Ask all your questions about the script here.

Help me with install.php please

Postby facarroll on Tue Mar 09, 2010 5:53 am

I have the following error repeated many times and then the comment about the database.

Warning: ereg_replace() [function.ereg-replace]: Invalid preceding regular expression in /hermes/bosweb/web121/b1215/ipg.mywebpage.com/quadodo/install/MySQL.class.php on line 249
1146: Table 'db_sas_client.qls3_masks' doesn't exist

I don't know if the script is supposed to create a database, or if the database is supposed to already exist. The same goes for the table. Does the script create it? I've tried both anyway without success. I'm almost 70 years old and new to this, so I need some clear direction, and sure would appreciate it. The site is hosted on ipage.com if that's any help.
facarroll
New
 
Posts: 4
Joined: Tue Mar 09, 2010 3:05 am

Re: Help me with install.php please

Postby dragonfire on Tue Mar 09, 2010 11:35 am

Did you upload everything threw your ftp try downloading it off the Quadodo Login Script site again and re uploading it http://www.quadodo.net/downloads.php :roll:
I'm just trying to help people. Because i like the script.
User avatar
dragonfire
A Regular
 
Posts: 93
Joined: Sat Oct 03, 2009 8:58 pm
Location: USA

Re: Help me with install.php please

Postby facarroll on Tue Mar 09, 2010 1:55 pm

I downloaded the script as qls-3.1.9.zip and uploaded the whole unzipped directory (which i named quadodo to the root of my website. I called the install www.mypage.com/quadodo/install/install.html, so I think all the files would be there.
I checked all my settings with the host helpdesk, and they did change the port I had listed, but nothing else.
Thanks for your help so far.
facarroll
New
 
Posts: 4
Joined: Tue Mar 09, 2010 3:05 am

Re: Help me with install.php please

Postby dragonfire on Tue Mar 09, 2010 4:43 pm

facarroll wrote:I downloaded the script as qls-3.1.9.zip and uploaded the whole unzipped directory (which i named quadodo to the root of my website. I called the install http://www.mypage.com/quadodo/install/install.html, so I think all the files would be there.
I checked all my settings with the host helpdesk, and they did change the port I had listed, but nothing else.
Thanks for your help so far.


I'm thinking you got the url wrong http://www.mypage.com/quadodo/install/install.html on the end it should be like this http://www.mypage.com/quadodo/install/install.php have you edited any files out of the zip that you put in the quadodo directory :roll:
I'm just trying to help people. Because i like the script.
User avatar
dragonfire
A Regular
 
Posts: 93
Joined: Sat Oct 03, 2009 8:58 pm
Location: USA

Re: Help me with install.php please

Postby facarroll on Tue Mar 09, 2010 7:36 pm

Sorry, my mistake. I have been calling install.php, because I do get the data entry form. The html file ending in my earlier post was just a psychological typo.
Thanks for your help.
facarroll
New
 
Posts: 4
Joined: Tue Mar 09, 2010 3:05 am

Re: Help me with install.php please

Postby dragonfire on Tue Mar 09, 2010 9:03 pm

No problem glad i could help if you need anything else feel free to ask here Welcome to the Quadodo Login Board :roll:
I'm just trying to help people. Because i like the script.
User avatar
dragonfire
A Regular
 
Posts: 93
Joined: Sat Oct 03, 2009 8:58 pm
Location: USA

Re: Help me with install.php please

Postby facarroll on Wed Mar 10, 2010 4:18 am

Still needing help on this.

Error code is ;

Warning: ereg_replace() [function.ereg-replace]: Invalid preceding regular expression in /hermes/bosweb/web121/b1215/ipg.myusername/quadodo/install/MySQL.class.php on line 249
1146: Table 'db_sas_client.qls3_masks' doesn't exist

code referred to in MySQL.class.php follows

Code: Select all

//Loop through all the SQL and do it to it :)
      
248   for ($x = 0; $x < $query_count; $x++) {
249         $sql[$x] = ereg_replace('{database_prefix}', $database_prefix, $sql[$x]);
250            if (!empty($sql[$x])) {
251            mysql_query($sql[$x], $this->connection) or die(mysql_error());
252            }
253         }
254      }



Really appreciate some help.
facarroll
New
 
Posts: 4
Joined: Tue Mar 09, 2010 3:05 am

Re: Help me with install.php please

Postby aaron1988 on Wed Mar 10, 2010 9:42 am

Before you do this if you look it says "ma

Hi right these are the steps you need to take to install :)

1. it doesnt have to be in a folder called quaododo could be in anything so lets start from the beginning.

First go to http://www.quadodo.net/downloads.php and download the one that says "qls-3.1.9.zip" and then you will be redirected to sourceforge you can even wait for it redirect you to the link or you can click "Direct Link" and it will download straight away then choose, Save and save it to your desktop in a folder called quadodo so get messed up with all your other desktop stuff hehe :)

Now uzip it with a programme called Winrar or Winzip which can be downloaded by going to google and typing in WinRar or WinZip.

Once downloaded and extracted upload the ENTIRE quadodo files/folders to your site via FTP. so upload it all in a folder called "login" or "members"

Then once uploaded point your website to http://www.yourwebsite.com/login/install/install.php change this to reflect to your site.

Now login to your hosting CPANEL and create a mysql username so should be like this

username: aaron
database aaron1
password: 123456

Then once that is created go back to the browser where i told you to go to http://www.yourwebsite.com/login/install/install.php


Now choose mysql not mysqli cause thats a different database altogether, then fill in all your database information which you did it the step before leave database port: BLANK
Then once you have filled in all the neccessary fields to your needs, click install and save the file which pops up database_info.php and uplaoded that into the includes folder and if database_info.php is already in the directory then OVERWRITE IT.

Now try and visit the login.php file and login with your ADMIN Login which you setup upon install then try and go to admincp.php :) and see if its all good if not :) i will do a screencast of how i have installed it for you, or even better if you PM me with details i will tka e alook for you and see what is wrong, i wont hack ya i used to host this site for Dogulas :) until we hd a few problems with my host but is all good now.

Regards,
Aaron
aaron1988
New
 
Posts: 16
Joined: Thu Jan 31, 2008 4:04 am

Re: Help me with install.php please

Postby aaron1988 on Wed Mar 10, 2010 9:56 am

SORRY for the double post but wouldnt let me EDIt that one any more :( when i tried

Before you do this if you look it says "1146: Table 'db_sas_client.qls3_masks' doesn't exist" so something went wrong with install so i would start fresh inless you do this

Login to your cpanel and go to PHPMYADMIN and click SQL and insert these then save

CREATE TABLE `sas_clients_masks`(
`id` SMALLINT(6) NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) DEFAULT '' NOT NULL,
`auth_admin` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_phpinfo` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_configuration` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_user` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_user_list` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_user` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_user` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_page` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_page_list` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_page` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_page` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_page_stats` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_mask` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_list_masks` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_mask` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_mask` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_group` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_list_groups` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_group` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_group` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_activate_account` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_send_invite` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_356a192b7913b04c54574d18c28d46e6395428ab` TINYINT(1) DEFAULT '0' NOT NULL,
PRIMARY KEY(`id`),
INDEX `masks_idx` (`name`)
);




Hi right these are the steps you need to take to install :)

1. it doesnt have to be in a folder called quaododo could be in anything so lets start from the beginning.

First go to http://www.quadodo.net/downloads.php and download the one that says "qls-3.1.9.zip" and then you will be redirected to sourceforge you can even wait for it redirect you to the link or you can click "Direct Link" and it will download straight away then choose, Save and save it to your desktop in a folder called quadodo so get messed up with all your other desktop stuff hehe

Now uzip it with a programme called Winrar or Winzip which can be downloaded by going to google and typing in WinRar or WinZip.

Once downloaded and extracted upload the ENTIRE quadodo files/folders to your site via FTP. so upload it all in a folder called "login" or "members"

Then once uploaded point your website to http://www.yourwebsite.com/login/install/install.php change this to reflect to your site.

Now login to your hosting CPANEL and create a mysql username so should be like this

username: aaron
database aaron1
password: 123456

Then once that is created go back to the browser where i told you to go to http://www.yourwebsite.com/login/install/install.php


Now choose mysql not mysqli cause thats a different database altogether, then fill in all your database information which you did it the step before leave database port: BLANK
Then once you have filled in all the neccessary fields to your needs, click install and save the file which pops up database_info.php and uplaoded that into the includes folder and if database_info.php is already in the directory then OVERWRITE IT.

Now try and visit the login.php file and login with your ADMIN Login which you setup upon install then try and go to admincp.php and see if its all good if not :) i will do a screencast of how i have installed it for you, or even better if you PM me with details i will tka e alook for you and see what is wrong, i wont hack ya i used to host this site for Dogulas :) until we hd a few problems with my host but is all good now.

Regards,
Aaron
aaron1988
New
 
Posts: 16
Joined: Thu Jan 31, 2008 4:04 am

Re: Help me with install.php please

Postby dragonfire on Wed Mar 10, 2010 9:36 pm

Thankyou aaron1988 nice tutorial ya on the double post i edited for you but you have way to many smileys and URL to be one post so ill just keep it like This If you need anything else feel free to ask facarroll What that code is saying it can't find db_sas_client.qls3_masks because either it did'nt install correctly or you did'nt upload it all so you can either freshly redo it all reupload it or you can go in to your Hosting Panel login to it then if you have Cpanel it will be PHPMyAdmin click that then execute this code
Code: Select all
CREATE TABLE `sas_clients_masks`(
`id` SMALLINT(6) NOT NULL AUTO_INCREMENT,
`name` VARCHAR(255) DEFAULT '' NOT NULL,
`auth_admin` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_phpinfo` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_configuration` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_user` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_user_list` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_user` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_user` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_page` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_page_list` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_page` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_page` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_page_stats` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_mask` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_list_masks` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_mask` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_mask` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_add_group` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_list_groups` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_remove_group` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_edit_group` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_activate_account` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_admin_send_invite` TINYINT(1) DEFAULT '0' NOT NULL,
`auth_356a192b7913b04c54574d18c28d46e6395428ab` TINYINT(1) DEFAULT '0' NOT NULL,
PRIMARY KEY(`id`),
INDEX `masks_idx` (`name`)
);


And you should not get the PHP error anymore if you need anything else feel free to ask Hope this helps :roll:
I'm just trying to help people. Because i like the script.
User avatar
dragonfire
A Regular
 
Posts: 93
Joined: Sat Oct 03, 2009 8:58 pm
Location: USA

Next

Return to Support

Who is online

Users browsing this forum: No registered users and 0 guests

cron