Google

NukeCoder


View next topic
View previous topic
Post new topic   Reply to topic
Author Message
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Mon Apr 30, 2007 11:52 pm
Reply with quote

I am getting this isses after install , when i go into admin.php and click on Digital Shop i get this error

The encoded file /home/xxx/public_html/modules/Digital_Shop/lib/init.php requires a license file.
The license file /home/xxx/public_html/modules/Digital_Shop/license/licdata.dat is corrupt.

Please help.

I am running PHP-Platnium7.6b4v2
My site www.allnukestuff.com
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue May 01, 2007 12:01 am
Reply with quote

Hi,

Make sure you copied the complete license text including

------ LICENSE FILE DATA -------
and
--------------------------------

If that isn't the problem drop me a line and I'll make you a new one.

Thanks,
gotcha
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Tue May 01, 2007 12:54 am
Reply with quote

Yep i copyed it right

------ LICENSE FILE DATA -------
xxxxbla bla bla
--------------------------------

But still not working
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue May 01, 2007 1:36 am
Reply with quote

Ok,
I've updated your license with a new one which you can find under the view license link on this page: http://nukecoder.com/shop_purchases.html
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Tue May 01, 2007 2:29 am
Reply with quote

Ok the license is now working but getting constants.php issue.

It says in the read me edit the constant and find line

Code:
$dsn_string = 'mysql://username:password@dbHost/dbName';

But this code is not in there.

This is the code inside

Code:
<?php

/****** Settings for ALL versions ******/

// insert your database info in this format
// dbType://dbUser:dbPassword@dbHost/dbName
define('DSN_STRING', 'mysql://dbUser:dbPassword@dbHost/dbName');

// set paths according to type of install
define('ROOT_LINK', 'modules.php?name=Digital_Shop');
define('BASE_LINK', ROOT_LINK.'&amp;');
define('LOGIN_LINK', 'account.html');
define('SMARTY_PATH', 'includes/');
define('PEAR_PATH', 'includes/');

// path to log files
define('LOG_FILE_PHP', SCRIPT_PATH.'log/error_php.log');
define('LOG_FILE_PEAR', SCRIPT_PATH.'log/error_pear.log');
define('SHOP_DEBUG', true);

// Define all table names
define('TABLE_SESSIONS', 'shop_sessions');// stand alone version only
define('TABLE_USERS', 'nuke_users');
define('TABLE_USERS_CONFIRM', 'shop_users_confirm');// stand alone version only
define('TABLE_CATS', 'shop_categories');
define('TABLE_ITEMS', 'shop_items');
define('TABLE_IMAGES', 'shop_images');
define('TABLE_CONFIG', 'shop_config');
define('TABLE_PURCHASES', 'shop_purchases');
define('TABLE_APPREG', 'shop_appreg');
define('TABLE_BLOCKS', 'shop_blocks');// stand alone version only
define('TABLE_SAVED_CART', 'shop_saved_carts');
define('TABLE_PURCHASES', 'shop_purchases');
define('TABLE_PURCHASE_LOG', 'shop_purchase_log');
define('TABLE_REVIEWS', 'shop_reviews');
define('TABLE_RATINGS', 'shop_ratings');
//define('TABLE', '');



/****** Settings for STAND ALONE VERSION ONLY ******/

// chances of clearing stale logins
// the busier the site, the lower the number
define('SHOP_CLEARSTALE', 25);

// # of hours before we consider logins stale.
define('SHOP_LOGINSTALE', 2);

// use smart redirects in some areas
// takes user back to page they came from
define('SMART_REDIR', true);

// check if the email server actually exists - slower, but safer
define('EMAIL_DNS_CHECK', true);

// username/password checks on register
define('LEN_UNAME_MIN', 6);
define('LEN_UNAME_MAX', 25);
define('LEN_PW_MIN', 5);
define('LEN_PW_MAX', 15);

// user levels
define('USER_LEVEL_GUEST', 0);
define('USER_LEVEL_REG', 1);
define('USER_LEVEL_MOD', 2);
define('USER_LEVEL_ADMIN', 3);
?>


Is it this line i add it to

Code:
('DSN_STRING', 'mysql://dbUser:dbPassword@dbHost/dbName');


And if it is i edit it with my info but it still wont work

Example

Code:
('DSN_STRING', 'mysql://database_username:passxxx@dbHost/database_name');
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue May 01, 2007 11:55 am
Reply with quote

Yes this is the correct format
Code:
('DSN_STRING', 'mysql://database_username:passxxx@dbHost/database_name');


Does it give you any error messages?
Also, look in the modules/Digital_Shop/log folder as there may be some clues in there.
Feel free to pm or email those log files and I'll help get you up and running.
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Tue May 01, 2007 1:06 pm
Reply with quote

Here is the error i get

Code:
[05-01-07 01:05:43 pm] [mdb2_error: message="MDB2 Error: connect failed" code=-24 mode=callback callback=handle_pear_error prefix="" info="connect: [Error message: unable to establish a connection] [Native code: 0] "]
Error connecting to database. Make sure you edited the constants.php
[/quote]
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue May 01, 2007 1:18 pm
Reply with quote

That error message makes me think that either the host or db name is wrong, but it is most likely the host that is wrong. Double check that and let me know.
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Tue May 01, 2007 1:33 pm
Reply with quote

Sending you a PM
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue May 01, 2007 5:56 pm
Reply with quote

So did the PM I sent you fix the problem?
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Tue May 01, 2007 7:33 pm
Reply with quote

Seems to of got ride of the issue i think its fixed just got to get passed these issues now.

Code:
[05-01-07 07:30:43 pm][256](Line:1095) Smarty error: unable to write to $compile_dir '/home/xxx/public_html/modules/Digital_Shop/templates_c'. Be sure $compile_dir is writable by the web server user. [/home/xxx/public_html/includes/smarty/libs/Smarty.class.php]
[05-01-07 07:30:43 pm][256](Line:1095) Smarty error: unable to write to $compile_dir '/home/xxx/public_html/modules/Digital_Shop/templates_c'. Be sure $compile_dir is writable by the web server user. [/home/xxx/public_html/includes/smarty/libs/Smarty.class.php]
[05-01-07 07:30:43 pm][256](Line:1095) Smarty error: unable to write to $compile_dir '/home/xxx/public_html/modules/Digital_Shop/templates_c'. Be sure $compile_dir is writable by the web server user. [/home/xxx/public_html/includes/smarty/libs/Smarty.class.php] [quote][/quote]


I have cmodded what it tells me in the read me to 755 but the files was already set to 755 , should i try to update the cmodd of the files in the read me to 777 ?
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Tue May 01, 2007 7:42 pm
Reply with quote

Yes, you will probably need to set it to 777.
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Tue May 01, 2007 8:22 pm
Reply with quote

Ok that did the trick

Anther issue when i click on anther think in the admin Digital Shop to edit it ect all i get is" Get Out "
 
View user's profile Send private message
gotcha
Site Admin
Site Admin



Joined: Oct 25, 2004
Posts: 921

PostPosted: Wed May 02, 2007 11:05 am
Reply with quote

I'll have to install platinum to see why that is happening....
Wow, the platinum package is over 70mb... that is just crazy Shocked
 
View user's profile Send private message Visit poster's website
SKULL




Joined: Apr 30, 2007
Posts: 17

PostPosted: Wed May 02, 2007 11:28 am
Reply with quote

Just take our the arcade games in modules/forums/games it will take the size of platium down to about 8mb
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 5 Hours
Forums ©