HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


ocPprtal error... Database info?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#29955 (In Topic #6872)
Avatar

Fan in training

What and where do I find my database info?


I have been getting this error for the last hour and I cant figure it out, I dont know what my database username or password is so I think I need some direction. I have mt FTP info etc but an stuck on this database thing. Please help me. Thanks!

ocPortal error

Could not connect to database-server (Access denied for user 'usclife2'@'localhost' (using password: YES)) Details here are intended for the website/system-administrator, not for regular website users. If you are a regular website user, please let the website staff deal with this problem. Depending on the error, you may need to edit the base configuration (the info.php file). ocProducts maintains full documentation for all procedures and tools. These may be found on the ocPortal website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.
Back to the top
 
Posted
Rating:
#29956
Avatar

Fan in training

So I found out what the whole database thing is I guess and entered it in and this is the mess I got back:

Its pretty ugly looking…

ocPortal installer: step 5 of 10

PHP [2] ftp_connect() [<a href='function.ftp-connect'>function.ftp-connect</a>]: php_network_getaddresses: gethostbyname failed
Here is the stack trace:
File    'C:\Inetpub\vhosts\usclife.com\httpdocs\in
stall.php(7586) : eval()\'d code'
Line    118
Function    'get_html_trace'
Args    

File    'C:\Inetpub\vhosts\usclife.com\httpdocs\in
stall.php(7586) : eval()\'d code'
Line    170
Function    'clean_exit'
Args    

'PHP [2] ftp_connect() [<a href=\'function.ftp-connect\'>function.ftp-connect</a>]: php_network_getaddresses: gethostbyname failed'

Function    'ocportal_error_handler'
Args    

2

'ftp_connect() [<a href=\'function.ftp-connect\'>function.ftp-connect</a>]: php_network_getaddresses: gethostbyname failed'

'C:\Inetpub\vhosts\usclife.com\httpdocs\install.php'

6877

array ( 'FILE_ARRAY' => array ( 0 => 'adminzone/index.php', 1 => 'adminzone/logowizard.php', 2 => 'adminzone/pages/.htaccess', 3 => 'adminzone/pages/comcode/.htaccess', 4 => 'adminzone/pages/comcode/EN/.htaccess', 5 => 'adminzone/pages/comcode/EN/index.html', 6 => 'adminzone/pages/comcode/EN/netlink.txt', 7 => 'adminzone/pages/comcode/EN/occleguide.txt', 8 => 'adminzone/pages/comcode/EN/quotes.txt', 9 => 'adminzone/pages/comcode/EN/start.txt', 10 => 'adminzone/pages/comcode/index.html', 11 => 'adminzone/pages/comcode_custom/.htaccess', 12 => 'adminzone/pages/comcode_custom/EN/.htaccess', 13 => 'adminzone/pages/comcode_custom/EN/index.html', 14 => 'adminzone/pages/comcode_custom/index.html', 15 => 'adminzone/pages/html/.htaccess', 16 => 'adminzone/pages/html/EN/.htaccess', 17 => 'adminzone/pages/html/EN/index.html', 18 => 'adminzone/pages/html/index.html', 19 => 'adminzone/pages/html_custom/.htaccess', 20 => 'adminzone/pages/html_custom/EN/.htaccess', 21 => 'adminzone/pages/html_custom/EN/index.html', 22 => 'adminzone/pages/html_custom/index.html', 23 => 'adminzone/pages/index.html', 24 => 'adminzone/pages/minimodules/.htaccess', 25 => 'adminzone/pages/minimodules/index.html', 26 => 'adminzone/pages/minimodules_custom/.htaccess', 27 => 'adminzone/pages/minimodules_custom/index.html', 28 => 'adminzone/pages/modules/.htaccess', 29 => 'adminzone/pages/modules/admin.php', 30 => 'adminzone/pages/modules/admin_actionlog.php', 31 => 'adminzone/pages/modules/admin_addons.php', 32 => 'adminzone/pages/modules/admin_awards.php', 33 => 'adminzone/pages/modules/admin_backup.php', 34 => 'adminzone/pages/modules/admin_bulkupload.php', 35 => 'adminzone/pages/modules/admin_chat.php', 36 => 'adminzone/pages/modules/admin_cleanup.php', 37 => 'adminzone/pages/modules/admin_config.php', 38 => 'adminzone/pages/modules/admin_custom_comcode.php', 39 => 'adminzone/pages/modules/admin_ecommerce.php', 40 => 'adminzone/pages/modules/admin_errorlog.php', 41 => 'adminzone/pages/modules/admin_flagrant.php', 42 => 'adminzone/pages/modules/admin_helpwizard.php', 43 => 'adminzone/pages/modules/admin_import.php', 44 => 'adminzone/pages/modules/admin_invoices.php', 45 => 'adminzone/pages/modules/admin_ipban.php', 46 => 'adminzone/pages/modules/admin_lang.php', 47 => 'adminzone/pages/modules/admin_lookup.php', 48 => 'adminzone/pages/modules/admin_menus.php', 49 => 'adminzone/pages/modules/admin_newsletter.php', 50 => 'adminzone/pages/modules/admin_occle.php', 51 => 'adminzone/pages/modules/admin_ocf_categories.php', 52 => 'adminzone/pages/modules/admin_ocf_customprofilefields.php', 53 => 'adminzone/pages/modules/admin_ocf_emoticons.php', 54 => 'adminzone/pages/modules/admin_ocf_forums.php', 55 => 'adminzone/pages/modules/admin_ocf_groups.php', 56 => 'adminzone/pages/modules/admin_ocf_history.php', 57 => 'adminzone/pages/modules/admin_ocf_join.php', 58 => 'adminzone/pages/modules/admin_ocf_merge_members.php', 59 => 'adminzone/pages/modules/admin_ocf_multimoderations.php', 60 => 'adminzone/pages/modules/admin_ocf_post_templates.php', 61 => 'adminzone/pages/modules/admin_permissions.php', 62 => 'adminzone/pages/modules/admin_phpinfo.php', 63 => 'adminzone/pages/modules/admin_points.php', 64 => 'adminzone/pages/modules/admin_pointstore.php', 65 => 'adminzone/pages/modules/admin_quiz.php', 66 => 'adminzone/pages/modules/admin_redirects.php', 67 => 'adminzone/pages/modules/admin_security.php', 68 => 'adminzone/pages/modules/admin_setupwizard.php', 69 => 'adminzone/pages/modules/admin_sitetree.php', 70 => 'adminzone/pages/modules/admin_staff.php', 71 => 'adminzone/pages/modules/admin_stats.php', 72 => 'adminzone/pages/modules/admin_themes.php', 73 => 'adminzone/pages/modules/admin_themewizard.php', 74 => 'adminzone/pages/modules/admin_unvalidated.php', 75 => 'adminzone/pages/modules/admin_version.php', 76 => 'adminzone/pages/modules/admin_wordfilter.php', 77 => 'adminzone/pages/modules/admin_zones.php', 78 => 'adminzone/pages/modules/index.html', 79 => 'adminzone/pages/modules_custom/.htaccess', 80 => 'adminzone/pages/modules_custom/index.html', 81 => 'adminzone/staff_tips.php', 82 => 'adminzone/themewizard.php', 83 => 'attachment.php', 84 => 'attachment_popup.php', 85 => 'authors.php', 86 => 'backend.php', 87 => 'backend_cloud.php', 88 => 'banner.php', 89 => 'cms/index.php', 90 => 'cms/pages/.htaccess', 91 => 'cms/pages/comcode/.htaccess', 92 => 'cms/pages/comcode/EN/.htaccess', 93 => 'cms/pages/comcode/EN/index.html', 94 => 'cms/pages/comcode/index.html', 95 => 'cms/pages/comcode_custom/.htaccess', 96 => 'cms/pages/comcode_custom/EN/.htaccess', 97 => 'cms/pages/comcode_custom/EN/index.html', 98 => 'cms/pages/comcode_custom/index.html', 99 => 'cms/pages/html/.htaccess', 100 => 'cms/pages/html/EN/.htaccess', 101 => 'cms/pages/html/EN/index.html', 102 => 'cms/pages/html/index.html', 103 => 'cms/pages/html_custom/.htaccess', 104 => 'cms/pages/html_custom/EN/.htaccess', 105 => 'cms/pages/html_custom/EN/index.html', 106 => 'cms/pages/html_custom/index.html', 107 => 'cms/pages/index.html', 108 => 'cms/pages/minimodules/.htaccess', 109 => 'cms/pages/minimodules/index.html', 110 => 'cms/pages/minimodules_custom/.htaccess', 111 => 'cms/pages/minimodules_custom/index.html', 112 => 'cms/pages/modules/.htaccess', 113 => 'cms/pages/modules/cms.php', 114 => 'cms/pages/modules/cms_authors.php', 115 => 'cms/pages/modules/cms_banners.php', 116 => 'cms/pages/modules/cms_calendar.php', 117 => 'cms/pages/modules/cms_catalogues.php', 118 => 'cms/pages/modules/cms_cedi.php', 119 => 'cms/pages/modules/cms_chat.php', 120 => 'cms/pages/modules/cms_comcode_pages.php', 121 => 'cms/pages/modules/cms_downloads.php', 122 => 'cms/pages/modules/cms_galleries.php', 123 => 'cms/pages/modules/cms_iotds.php', 124 => 'cms/pages/modules/cms_news.php', 125 => 'cms/pages/modules/cms_polls.php', 126 => 'cms/pages/modules/cms_quiz.php', 127 => 'cms/pages/modules/index.html', 128 => 'cms/pages/modules_custom/.htaccess', 129 => 'cms/pages/modules_custom/index.html', 130 => 'code_editor.php', 131 => 'config_editor.php', 132 => 'data/ajax_tree.php', 133 => 'data/areaedit/backend.php', 134 => 'data/areaedit/CREDITS.txt', 135 => 'data/areaedit/ddt/ddt.js', 136 => 'data/areaedit/ddt/ddt.php', 137 => 'data/areaedit/ddt/index.html', 138 => 'data/areaedit/dialog.js', 139 => 'data/areaedit/htmlarea.css', 140 => 'data/areaedit/htmlarea.js', 141 => 'data/areaedit/images/ed_about.gif', 142 => 'data/areaedit/images/ed_align.gif', 143 => 'data/areaedit/images/ed_align_center.gif', 144 => 'data/areaedit/images/ed_align_justify.gif', 145 => 'data/areaedit/images/ed_align_left.gif', 146 => 'data/areaedit/images/ed_align_right.gif', 147 => 'data/areaedit/images/ed_blank.gif', 148 => 'data/areaedit/images/ed_buttons_main.gif', 149 => 'data/areaedit/images/ed_charmap.gif', 150 => 'data/areaedit/images/ed_clearfonts.gif', 151 => 'data/areaedit/images/ed_color_bg.gif', 152 =>


And it goes on and on…
Back to the top
 
Posted
Rating:
#29963
Avatar

Fan in training

Here is my most recent error:

ocPortal error

Could not connect to database-server (Unknown MySQL Server Host 'http' (11004))

Details here are intended for the website/system-administrator, not for regular website users. If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, you may need to edit the base configuration (the info.php file).
Back to the top
 
Posted
Rating:
#29964
Avatar

The first and third errors would be caused by using incorrect database connection details. If you're not sure about them, they should be listed on your hosting account control panel, under "databases", or "MySQL", or something similar.

You should be able to work around the second problem by using the manual installer instead of the quick installer.

Back to the top
 
Posted
Rating:
#29967
Avatar

Fan in training

So should I just uninstall the quick installer and download the manual one and install that? Thanks!
Back to the top
 
Posted
Rating:
#29969
Avatar

Yes. They both install the same thing, except the manual installer requires you upload all the files yourself, rather than it being automated.

Back to the top
 
Posted
Rating:
#29971
Avatar

Fan in training

OK do I need to uninstall first?
Back to the top
 
Posted
Rating:
#29981
Avatar

Community saint

The easiest way to do this specially if its a band new site is just delete every thing from the server and upload either the quick or the manual not both and then run the installer and you should be fine.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: