Post by antmagn » Fri Apr 04, 2025 4:48 pm

Please help me! I'm not sure what is my mistake, I accidentally got white page on my site, even on admin page without knowing what to do. Any help will be appreciated...I have kept a back up of my store in case I have to replace a file. I have enabled view errors in index.php to help...

My site https://tonias-handmade.com/

I think a link is broken, what is this "fb/09/97/" ??? It didn't exist before, can I change it?

OC3.0.3.8 default theme
PHP: 7.3.13

Attachments

???
errorBlank.JPG
Last edited by antmagn on Fri Apr 04, 2025 6:13 pm, edited 2 times in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by JNeuhoff » Fri Apr 04, 2025 5:10 pm

There is no require or include instruction on line 19 of the index.php. You either are using a modified or corrupted index.php.
Also check your config.php. Does the DIR_SYSTEM point to the correct folder, e.g. '/home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/' ?

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by antmagn » Fri Apr 04, 2025 5:16 pm

config.php

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'https://tonias-handmade.com/');

// HTTPS
define('HTTPS_SERVER', 'https://tonias-handmade.com/');

// DIR
define('DIR_APPLICATION', '/home/toniasha/domains/tonias-handmade.com/public_html/catalog/');
define('DIR_SYSTEM', '/home/toniasha/domains/tonias-handmade.com/public_html/system/');
define('DIR_IMAGE', '/home/toniasha/domains/tonias-handmade.com/public_html/image/');
define('DIR_STORAGE', '/home/toniasha/domains/tonias-handmade.com/storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');



index.php

[code]
<?php
error_reporting(E_ALL);
ini_set('display_errors', 'On');
// Version
define('VERSION', '3.0.3.8');

// Configuration
if (is_file('config.php')) {
	require_once('config.php');
}

// Install
if (!defined('DIR_APPLICATION')) {
	header('Location: install/index.php');
	exit;
}

// Startup
require_once(DIR_SYSTEM . 'startup.php');

start('catalog');

I haven't touched those....
Last edited by antmagn on Fri Apr 04, 2025 5:39 pm, edited 1 time in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by antmagn » Fri Apr 04, 2025 5:19 pm

I've added this path to config.php and now the front opens but it was not this way?

Code: Select all

// DIR
define('DIR_APPLICATION', '/home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/catalog/');
define('DIR_SYSTEM', '/home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/system/');
define('DIR_IMAGE', '/home/fb/09/97/toniasha/domains/tonias-handmade.com/public_html/image/');
define('DIR_STORAGE', '/home/fb/09/97/toniasha/domains/tonias-handmade.com/storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by antmagn » Fri Apr 04, 2025 5:27 pm

where did this "/fb/09/97/" come from? :choke: ???
Is it possible that this could happen when I accidentally enabled a ??? vpn extension("Browsec") on my chrome browser while logging in admin panel? Can I correct that? this path "/fb/09/97/" was not there before...how did it altered?
Last edited by antmagn on Fri Apr 04, 2025 5:39 pm, edited 1 time in total.

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by by mona » Fri Apr 04, 2025 5:38 pm

URGENT
Remove your passwords ASAP - change them ASAP

THIS POST =>
antmagn wrote:
Fri Apr 04, 2025 5:16 pm
Last edited by by mona on Fri Apr 04, 2025 5:41 pm, edited 1 time in total.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by antmagn » Fri Apr 04, 2025 5:41 pm

by mona wrote:
Fri Apr 04, 2025 5:38 pm
URGENT
Remove your passwords ASAP - change them ASAP
Yes you are right thank you...I was and still I'm desperate and did not notice it....

New member

Posts

Joined
Fri Jul 23, 2021 8:38 pm

Post by by mona » Fri Apr 04, 2025 5:51 pm

Yes I know - you are welcome - it happens - do that first.

/fb/09/97/ is your server - ask them

remove (from the file)

Code: Select all

error_reporting(E_ALL);
ini_set('display_errors', 'On');
that is for debugging and should never be active on a live site.
NO ERROR LOGGING SHOULD BE ON A LIVE SITE

That includes admin settings error log file.

You turn it on if you have an error and turn it off when you are finished.


and finally yes if you changed the route of your site via CPanel it will change the route.
Your site is back up - so please mark as solved or come back with any issue you still have.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: Baidu [Spider] and 18 guests