![]() |
[General] can't create anything - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: [General] can't create anything (/thread-205006.html) |
can't create anything - jayto - 2016-10-12 I tried to install different themes and every time the 'import a theme' page just refresh after 10 seconds, and no theme is uploaded. Same with trying to make forum...can't even create new ones. I can't make anything! I just installed this mybb on http://bullionboards.com I did have trouble removing the /index.php ending, but after hours, did remove it! I tried many things but ended up renaming htaccess.txt to '.htaccess' and add all this code: DirectoryIndex index.php # REDIRECT Force requests for named index files to drop the index file filename, and force non-www to avoid redirect loop RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]*/)*index\.(html?|php[45]?)(\?[^\ ]*)?\ HTTP/ RewriteRule ^(([^/]*/)*)index\.(html?|php[45]?)$ http://example.com/$1 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+)/([^\.]+)\.php\ HTTP/ RewriteRule ^([a-zA-Z0-9_-]+)/([^.]+)\.php$ http://example.com/$1/$2 [R=301,L] RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+)/([^/]+)/([^\.]+)\.php\ HTTP/ RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([^.]+)\.php$ http://example.com/$1/$2/$3 [R=301,L] # REDIRECT www to non-wwww RewriteCond %{HTTP_HOST} !^example\.com$ [NC] RewriteRule .? http://example.com%{REQUEST_URI} [R=301,L] # REWRITE url to filepath RewriteRule ^([a-zA-Z0-9_-]+)/([^/.]+)$ /$1/$2.php [L] RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([^/.]+)$ /$1/$2/$3.php [L] I did change some permission based on advice from the, i made some 666 and 777. Maybe something is wrong with a folder and permission??? I will give admin login if someone thinks they can do something from there. RE: can't create anything - day-day - 2016-10-12 Unsure why you renamed all of that and added unnecessary coding? Follow this tutorial and it'll work: https://community.mybb.com/post-628002.html Then be sure to remove /index.php from header templates, etc. to just / RE: can't create anything - jayto - 2016-10-12 I tried to add that code, I tried like 10 variations! The one I have is the only one I go to work. Is all that code im using causing my problem of not being able to create forums or install anything? RE: can't create anything - wimc - 2016-10-12 Also get rid of index.php from /global.php Find around line 903
Replace with
As for header, just remove index.php after / RE: can't create anything - jayto - 2016-10-12 i put RewriteCond %{IS_SUBREQ} false RewriteRule ^index.php$ http://www.example.org [R=301,L] in .htaccess and changed global.php with line: // Add our main parts to the navigation $navbits = array(); $navbits[0]['name'] = $mybb->settings['bbname_orig']; $navbits[0]['url'] = $mybb->settings['bburl'].'/'; I could access admin panel at /admin/index.php, and install the theme, but my site only work on /index.php....I don't know what you both are talking about header change to "/" idk where header is. Anyone here want to log into my plesk panel and see if can be fixed? I can't get rid of /index/php without it stopping me from editing site. I changed everything back to normal for now. |