Announcement

Collapse
No announcement yet.

garbled site after move+upgrade, then "Store CSS Stylesheets as Files" fixed it...?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mna
    replied
    If anyone else has this problem, I think it may also be caused by mod_security. Either contact your host to disable it completely for a test, or ask them to white list certain rules that might conflict with vbulletin.

    Leave a comment:


  • mna
    replied
    **last post by mna703 was my other account... I didn't realize I was signed in on it, feel free to delete that post and that account**
    success with the fresh server! Sorry to bother everyone with this issue I got a brand new namecheap server (~$10) and ran it on php5.6 and got the same problem. I then replaced the install directory and ran upgrade.php file and it worked after that! I decided to try the install again but setting cpanel to php7.1 instead (since vbulletin is all I will be using I might as well use the latest php right?), and it worked with the first install, without having to replace the install folder and run upgrade.php again.

    I had already tried php7.1 on my old server and it didn't work, so I am guessing something got corrupted on my old server and I needed a fresh server install.

    Leave a comment:


  • mna703
    replied
    ...

    Leave a comment:


  • mna
    replied
    I have used Firefox and cpanel file manager just in case Firefox wasn't working. Firefox never gave any errors.

    Originally posted by Wayne Luke View Post
    The actual CSS isn't stored as files by default, they are in database. If you're storing them as files, you need to make sure that updated CSS can overwrite any files in the directory where you store them.

    What version of PHP is your host using? Is the mb_string library installed in PHP?
    My whole issue is that the site ONLY works if CSS is stored as files. I don't want to store them as files and never have. mb_string is enabled and PHP is 5.6.30.

    I'm going to ask my host to wipe reinstall my server and start over fresh, I don't know what else to try

    Leave a comment:


  • Wayne Luke
    replied
    5.3.1 is complete and released to customers. It is running here and on hundreds of Cloud sites without problems. Are you using Filezilla to upload? Does it list any failures?

    The actual CSS isn't stored as files by default, they are in database. If you're storing them as files, you need to make sure that updated CSS can overwrite any files in the directory where you store them.

    What version of PHP is your host using? Is the mb_string library installed in PHP?

    Leave a comment:


  • mna
    replied
    I decided to try and install a blank vb5 5.31 and got the same issues....so thought I would try to install 5.30 and it worked first try! Would anyone be able to verify that the current 5.31 for download in members area is complete? I had also contacted my host (namecheap) and they said it looked like files were missing in the 5.31 install. I tried re uploading 5.31 various ways, and re running the upgrade scripts but still got the error, so I'm wondering if there is something wrong with the 5.31 download now?

    Leave a comment:


  • mna
    replied
    Originally posted by Wayne Luke View Post
    Upload the /core/install directory again.
    Run /core/install/upgrade.php again.
    Delete /core/install.
    still broken I even tried re uploading via file manager instead of FTP. same result. I even tried another fresh install uploading via cpanel file manger and that didn't work either (in case it was my FTP program). It's so strange that it works when css is saved as files but not otherwise...any other suggestions?

    Leave a comment:


  • Wayne Luke
    replied
    Upload the /core/install directory again.
    Run /core/install/upgrade.php again.
    Delete /core/install.

    Leave a comment:


  • mna
    replied
    Originally posted by Glenn Vergara View Post
    This css is good:

    http://amparty.org/vb5/css.php?style...&ts=1496853718

    But the other two:

    http://amparty.org/vb5/css.php?style...&ts=1496853718
    http://amparty.org/vb5/css.php?style...&ts=1496853718

    contains:

    /* Unable to find css template */
    /* Unable to find css sheet */
    Thanks, but why can't it find the templates if I am using the default styles? I tried rebuilding styles but that does not work, and reverting all templates but still no good. Sorry I am not very advanced at this, how do I tell which templates those are? Could it be from a plugin that is no longer there?

    Leave a comment:


  • mna
    replied
    Originally posted by Wayne Luke View Post
    The system can't load the CSS file. Did you delete all your vBulletin 4.X files before uploading the vBulletin 5 files?

    Make sure there is no css.php in vBulletin's root directory. In fact, the only PHP file that should be in vBulletin's root directory is index.php.

    Also, make sure that htaccess.txt is renamed to .htaccess and not modified unless you need to add a handler to support your PHP version.

    You also cannot use a vBulletin 4.X style. You need to use one of the 15 styles provided with vBulletin 5.
    I uploaded a fresh vb5 directory into an empty directory, I did not bring over any vb4 files. There is a config.php and index.php in the root folder, I think the config.php one is needed though? I renamed the default htaccess file without changing the contents. I also tried deleting my old style and tried using the default vb5 style but did not work. Again, the website works fine if I Store CSS Stylesheets as Files, but I don't want to do that
    Last edited by mna; Wed 7th Jun '17, 2:18pm.

    Leave a comment:


  • Glenn Vergara
    replied
    This css is good:

    http://amparty.org/vb5/css.php?style...&ts=1496853718

    But the other two:

    http://amparty.org/vb5/css.php?style...&ts=1496853718
    http://amparty.org/vb5/css.php?style...&ts=1496853718

    contains:

    /* Unable to find css template */
    /* Unable to find css sheet */

    Leave a comment:


  • Wayne Luke
    replied
    The system can't load the CSS file. Did you delete all your vBulletin 4.X files before uploading the vBulletin 5 files?

    Make sure there is no css.php in vBulletin's root directory. In fact, the only PHP file that should be in vBulletin's root directory is index.php.

    Also, make sure that htaccess.txt is renamed to .htaccess and not modified unless you need to add a handler to support your PHP version.

    You also cannot use a vBulletin 4.X style. You need to use one of the 15 styles provided with vBulletin 5.

    Leave a comment:


  • mna
    replied
    Originally posted by Wayne Luke View Post
    If you had it set to store CSS as a file and moved to a new file structure, this can occur. The fix is to toggle the feature and write out new files for your current Style IDs. We attempt to do this during the upgrade process but it can fail.
    My original site was not set to store CSS as files. I tried toggling it on and off to no avail. I've tried moving the site about 10 different times so far trying different things before moving the database but I still get the CSS mess. I deleted my old styles and made new default ones with no parent. I tried uninstalling all plugins and a bunch of other things...I'm not sure what to try next.

    I really don't want to store CSS as files...any more ideas what I could try? Is there a way to reset ALL vbulletin4 settings to default values? Could this be a PHP thing? My old server is running either 5.2 or 5.4 while the new one I have set to 5.6. (phpinfo file says old server is 5.4 but tech support said they put it on 5.2).

    p.s here is my test domain I have it setup on if that helps: http://amparty.org/vb5/index.php
    Last edited by mna; Wed 7th Jun '17, 9:03am.

    Leave a comment:


  • Wayne Luke
    replied
    If you had it set to store CSS as a file and moved to a new file structure, this can occur. The fix is to toggle the feature and write out new files for your current Style IDs. We attempt to do this during the upgrade process but it can fail.

    It is recommended to rename the .htaccess before you run upgrade.php. However, the specific order doesn't matter much.

    Leave a comment:


  • mna
    replied
    Yes, I did rename it with the period in the front. Does it matter if you rename it before or after running the upgrade script? I can't remember which I did, I think I did before running upgrade.php.

    Leave a comment:

Related Topics

Collapse

Working...
X