Login     Sign up
Moving Data
ahmed (@pixeleyes)
Join date: Sep 7th 2010
Community posts: 8
View Profile
Send Message

How to move data from one to another server?

I tried but got this error:

SQL query error!

You can get help by sending this infomation to us: [url]http://jcow.net[/url]

175 months ago
adil (@adil)
Join date: May 9th 2010
Community posts: 202
View Profile
Send Message

more show case !!! did not understand your question or error!!!

175 months ago
ahmed (@pixeleyes)
Join date: Sep 7th 2010
Community posts: 8
View Profile
Send Message

I justed wanted to move data from one server to another.

Now is fine! I did and script is working fine.

Just have another question.

How can I add more pages as BROWSE and NEW FEEDS

in Permissions.

I wanted some other pages PROTECTED from Guest.

175 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

moving data:

change info in my/config.php

$db_info = array(
'host' => 'your_db_host', (usually localhost)
'user' => 'your_db_username',
'pass' => 'your_db_username_password',
'dbname' => 'your_db_name'
);
$uhome = 'your_url';

more protected pages

example videos:

goto modules/videos/videos.install.php

add 1 line (bold one)
function videos_menu() {
$items = array();
$items['videos'] = array(
'name'=>'Videos',
'type'=>'community',
[b]'protected'=>1[/b]
);

return $items;

}
goto your admin area, modules (watch out for the wrong link)
click on the update modules button and goto permissions (also wrong link there) and give permissions to the videos module

175 months ago
ahmed (@pixeleyes)
Join date: Sep 7th 2010
Community posts: 8
View Profile
Send Message

Thanks for the help.

That was for module.

But If I add another 'page link' via Menu

So is there have any way to hide/protect that link as well?

175 months ago