Unable to get to wp-admin log in page - wordpress

Hi I have recently tried to log in to my site and I keep getting the following error:
Warning: Cannot modify header information - headers already sent by
(output started at
/homepages/6/d700752663/htdocs/clickandbuilds/OnyxMotorsCompany/wp-content/themes/cardealer/includes/base_functions.php:1)
in
/homepages/6/d700752663/htdocs/clickandbuilds/OnyxMotorsCompany/wp-includes/pluggable.php
on line 1210
I have not made any changes to website. The website itself works fine however I cannot get to wordpress dashboard either via wp-login and wp-admin.
Any idea? Thank you

Open base_functions.php & try and add following code on top.
<?php ob_start(); ?>
You have already marked path to file: /homepages/6/d700752663/htdocs/clickandbuilds/OnyxMotorsCompany/wp-content/themes/cardealer/includes/base_functions.php
I hope it will help.

Related

Can't access WP-Admin page because of error

I am trying to edit a website I made in Wordpress, but when I go to the example.com/wp-admin/ to get to the Admin,
I get the errors, and so there is no way to go into Wordpress to edit the site.
I even changed the WP Theme back to the default TwentyTen through PHPMyAdmin, but that didn't help.
What can I do? Here is what I get when I try to go to wp-admin page:
Notice: register_uninstall_hook was called incorrectly. Only a static
class method or function can be used in an uninstall hook. Please see
Debugging in WordPress for more information. (This message was added
in version 3.1.) in
/home/content/80/13163980/html/ybk/wp-includes/functions.php on line
3547
Notice: Undefined index: page in
/home/content/80/13163980/html/ybk/wp-content/themes/rt_infuse_wp/functions.php
on line 45
Notice: Undefined index: page in
/home/content/80/13163980/html/ybk/wp-content/themes/rt_infuse_wp/functions.php
on line 55
Warning: Cannot modify header information - headers already sent by
(output started at
/home/content/80/13163980/html/ybk/wp-includes/functions.php:3547) in
/home/content/80/13163980/html/ybk/wp-includes/pluggable.php on line
1178
I just set WP_DEBUG mode to false and that skipped it all and got me to the WP-Admin login page.
Just find the pluggable.php and after <?php please add this ob_start(); and save. That should work.
Warning: Cannot modify header information - headers already sent by
Removing "blank lines" from function.php file and check it now issue is as it is than after check plugin folder >> disable plugin and check
Refresh your Browser, and the original error message Should go away.

unable to access wp-admin after change theme on wordpress

i cannot access wp-admin, and i search on internet and it suggest me to delete the first blank space on file function.options.php, but there it not blankspace. how should i do ?
Warning: Cannot modify header information - headers already sent by
(output started at
/home/voalahui/public_html/wp-content/themes/rebound/admin/functions/functions.options.php:1)
in /home/voalahui/public_html/wp-includes/pluggable.php on line 1207
when i open function.option.php
<?php
add_action('init','of_options');
if (!function_exists('of_options'))
line 1 there is not blank space to deleted
so, i reupload again my file to hosting, and make sure there is not file who failed, and it's fixed

Moving Wordpress website to another server

A friend of mine asked me to move wordpress website from development server to production. I've copied all the files, backed up and restored database. After that I'd changed sitename and home values in database (_options table) to new domain and it started. Though only home page is working fine. When I navigate to any other page it gives me 500 error. In error_log I got following errors:
1423021301: /home1/crankst1/public_html/fish-dev-site/ssv3_payload_extractor-r0Xkqq2xFD.php startup
[24-Feb-2015 19:16:59 UTC] PHP Warning: require_once(/home1/crankst1/public_html/fish-dev-site/wp-content/plugins/js_composer_theme/include/classes/core/class-vc-sort.php): failed to open stream: No such file or directory in /home1/crankst1/public_html/fish-dev-site/wp-content/plugins/js_composer_theme/js_composer.php on line 168
[24-Feb-2015 19:16:59 UTC] PHP Fatal error: require_once(): Failed opening required '/home1/crankst1/public_html/fish-dev-site/wp-content/plugins/js_composer_theme/include/classes/core/class-vc-sort.php' (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /home1/crankst1/public_html/fish-dev-site/wp-content/plugins/js_composer_theme/js_composer.php on line 168
Paths that cause errors are related to development server and I can't find where to change them. I'm not very good with wordpress, so I suppose that solution should be very simple.
I'm sure there is an issue with a plugin http://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431/comments?page=149 try to see if there are any hardcoded paths on the plugin dashboard.
Delete your .htaccess file then go to the permalinks page change to another permalink type save page then change back to permalink you had this will force wordpress to recreate the .htaccess file and it will allow all pages you have to show correctly on the site. :-)

Decoding failed: Syntax error Magento

Hi I have use a magento wordpress single sigin plugin , for this in installation it is suggested to add this code in magento index file .
// for wordpress login
$adminwp = "/var/www/projects/magentowoo/index.php/admin";
$wploadwp = "/var/www/projects/arun/rohitgoel/wp-load.php";
$uri = $_SERVER['REQUEST_URI'];
//echo $uri;
if(!strpos($uri, $adminwp) && !strpos($uri, 'downloader')) {
require_once($wploadwp);
}
it works fine but it a strange issue, when i am adding the product image in admin it gives a error
Decoding failed: Syntax error
i have try to comment out this code and than image works properly. Please suggest how can i fix this
Update your browser Flash version, if Flash is being blocked by the browser as being outdated this error will occur on the website.

Cookie Free Domain Doesn't work

I was following this tutorial: http://www.xpertdeveloper.com/2011/07/wordpress-cookie-free-domain/
So, I created (CPANEL) the subdomain static.artswr.com and redirected it to artswr.com/wp-content/
I edited and add the following in the end of the wp-config file:
define("WP_CONTENT_URL", "http://static.artswr.com");
define("COOKIE_DOMAIN", "www.artswr.com");
I am loading everything with <?php bloginfo('template_directory'); ?> but its not working, also I'm getting 404 errors when I try to find a file in static.artswr.com
Instead of
define("WP_CONTENT_URL", "http://static.artswr.com");
Try
define("WP_CONTENT_URL", "http://static.artswr.com/wp-content");
without any redirections from your cpanel. static.artswr.com should point to artswr.com
check below line:
So, I created (CPANEL) the subdomain static.artswr.com and redirected it to artswr.com/wp-content/
You mentioned that you have redirected, but it should not be redirect, It should map to wp-content folder.
Let me know if any comments.

Resources