vinamr
Forum Replies Created
-
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.Thank You so much RossMitchel, This error could not be resolved but my problem was solved.
The site looks great
I made a fresh theme and edited everything accordingly.
the BLANK-Theme is broken now somehow the functions.php locked itself.
Thank you all for the help.
I wanted ask that does this happen? I mean will I be facing this problem again? I can happily do the same thing then as well but, does the functions.php file do that often??
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.Hey RossMitchell, I’ve found out for sure that it isn’t a plugin that’s causing this.
Then navigate to “wp-content/themes”
then rename BLANK-theme directory to xxBLANK-theme
create a new directory “BLANK-theme”, install a newly downloaded fresh set of theme files into it.New set of files from the localhost or backup?
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.Thanks RossMitchell for that information. I am not gonna touch wp-settings.php.
if I change back the xxBLANK-Theme to BLANK-Theme will my site get back to square 1?
just wanna make sure that everything i do can be undone.
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.It says at the top on the site:
Warning: include(/home/oriongsj/public_html/wp-content/themes/BLANK-Theme/functions.php): failed to open stream: Permission denied in /home/oriongsj/public_html/wp-settings.php on line 328
Warning: include(): Failed opening ‘/home/oriongsj/public_html/wp-content/themes/BLANK-Theme/functions.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/oriongsj/public_html/wp-settings.php on line 328
Should I be editing wp-settings?
code on line 328:
if ( ! defined( ‘WP_INSTALLING’ ) || ‘wp-activate.php’ === $pagenow ) {
if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . ‘/functions.php’ ) )
include( STYLESHEETPATH . ‘/functions.php’ );
if ( file_exists( TEMPLATEPATH . ‘/functions.php’ ) )
include( TEMPLATEPATH . ‘/functions.php’ );
}Should i Change it to:
// Load the functions for the active theme, for both parent and child theme if applicable.
if ( ! defined( ‘WP_INSTALLING’ ) || ‘wp-activate.php’ === $pagenow ) {
if ( TEMPLATEPATH !== STYLESHEETPATH && file_exists( STYLESHEETPATH . ‘/functions.php’ ) )
include( STYLESHEETPATH . ‘/functions.php’ );
if ( file_exists( TEMPLATEPATH . ‘/functions.php’ ) )
include( TEMPLATEPATH . ‘/home/oriongsj/public_html/wp-content/themes/BLANK-Theme/functions.php’ );
}Please, Help..
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.Not exactly immediately RossMitchell, but as soon as I reload it goes back to 0000.
What i’ve done now is that made a new folder and uploaded it on the server with the same folder contents and activated the new theme it still is asking for BLANK-Theme..
Why is that?
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.Hey, Thank you so much for that DionDesigns; the permissions of the BLANK-Theme folder is 755 but that isnt the issue, the functions.php file’s permission is 0000. I don’t understand why it doesn’t change.
I tried to change it so many times. It always changes back to 0000.Also, how do i check the ownership of the folder? Why I’m asking is because I can see the permissions but I can’t see the ownership.
Can you suggest me a link or something to resolve this issue?
Forum: Hacks
In reply to: Error: Unable to change File permissions of functions.php.Also I would to specify in the admin panel I’m getting these 4 warnings:
Warning: include(/home/oriongsj/public_html/wp-content/themes/BLANK-Theme/functions.php): failed to open stream: Permission denied in /home/oriongsj/public_html/wp-settings.php on line 328
Warning: include(): Failed opening ‘/home/oriongsj/public_html/wp-content/themes/BLANK-Theme/functions.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/oriongsj/public_html/wp-settings.php on line 328
Warning: Cannot modify header information – headers already sent by (output started at /home/oriongsj/public_html/wp-settings.php:328) in /home/oriongsj/public_html/wp-includes/option.php on line 747
Warning: Cannot modify header information – headers already sent by (output started at /home/oriongsj/public_html/wp-settings.php:328) in /home/oriongsj/public_html/wp-includes/option.php on line 748