Jump to content
thirty bees forum

Recommended Posts

Posted (edited)

HI ,

I just tried to get into the products in the admin section and received these errors?  How would I go about to fix this?? However I refreshed just now and it went to the product and then when I tried to add it was also good. Sorry guys and gals it seemed to have corrected itself as I just logged out and then logged into the admin, all was fine. Weird 

throw new SmartyException("unable to write file {$_tmp_file}");
50:        }
51:
52:        /*
53:         * Windows' rename() fails if the destination exists,
54:         * Linux' rename() properly handles the overwrite.
55:         * Simply unlink()ing a file might cause other processes
56:         * currently reading that file to fail, but linux' rename()
57:         * seems to be smart enough to handle that for us.
58:         */
59:        if (Smarty::$_IS_WINDOWS) {
60:            // remove original file
61:            if (is_file($_filepath)) {
62:                @unlink($_filepath);
63:            }
64:            // rename tmp file
65:            $success = @rename($_tmp_file, $_filepath);
66:        } else {
67:            // rename tmp file
68:            $success = @rename($_tmp_file, $_filepath);
69:            if (!$success) {
70:                // remove original file
71:                if (is_file($_filepath)) {
72:                    @unlink($_filepath);
73:                }
74:                // rename tmp file
75:                $success = @rename($_tmp_file, $_filepath);
76:            }
77:        }
78:        if (!$success) {

 

Stack trace

1. vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php:68 source Fatal error()
 
Edited by RonGin
update the topic as it is working now

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...